Get Customer Specific Pricing
POST
https://app.sparklayer.io/api/v1/fetch-customer-pricing
acceptstringGenerated from available response content types
Site-IdstringSpark Layer Site ID
bodyobject
200<p>Successful response — all line items resolved pricing</p>
207<p>Partial success — one or more line items could not be priced</p>
400Validation error
curl --request POST \
--url https://app.sparklayer.io/api/v1/fetch-customer-pricing \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'site-id: jones-climbing' \
--data '{
"customer_id": "123e4567-e89b-12d3-a456-426614174000",
"customer_lookup_by": "",
"line_items": [
{
"sku": "WIDGET-RED-M",
"quantity": 10
}
]
}'