Create Customer Pricing
POST/customers/:lookupKey/:lookupValue/pricing
Use this endpoint to define pricing for an existing customer. The customer can be identified by it's lookup key. It is required to provide either categories
or products
or both in the payload.
Use cases
A common use case for this endpoint is when you want to give discounts only for a specific customer.
If you want to give a discount of 20% of sales price on all products in a given category you can use the SP
type pricing for a category. The customer will have discounted prices on all products that belong in that category.
Another common use case is to set a specific price for a product only for a single customer.
Request
Responses
- 200
- 404
Create Customer Pricing - 200
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
x-request-id
Create Customer Pricing - 404
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
x-request-id