GET /products/:id/customer-pricing/:customer
Parameters
id: The identifier as specified when the product was createdcustomer: The identifier of the customer
Status codes
200on success
Response
price: The integer price in cents, if availablepricing: Optional scaled pricing setupstrategy: The pricing strategy, one of"VOLUME","INCREMENTAL", or"DIVISIBLE"price_points: The prices used in the pricing based on the quantity of items.from: The number of items the price point is applied fromprice: The price for one item
date_overrides: An array of date periods where the price points are different from the default ones. Each item of the array can have the following properties:from_date: The start of the validity for the date override. Can be open ended if noto_dateis given.to_date: The last day of the date range. It is inclusive, the override is still valid on this date.price_points: The price points to be used for this date range or from this start date.
Example response
{
"price": 725,
"pricing": {
"strategy": "VOLUME",
"price_points": [
{
"from": 1,
"price": 725
},
{
"from": 100,
"price": 699
}
]
}
}