Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
Prices conditions
Trace ID, used to trace logs
394823457
List of price list IDs which items or SKUs belong to
[100275, 100276]
A list of Stock Keeping Units (SKUs) for items whose prices needs to be retrieved. Specify either SKUs or itemIds. If both are provided, the SKU takes precedence.
[1000019501, 1000019502]
List of item IDs for items whose prices needs to be retrieved. Specify either SKUs or itemIds. If both are provided, the SKU takes precedence.
[111111, 222222]
User ID
"5e2cfb9b45570b000864c4b5"
Segment the user belongs to
{ "Customer Type": ["Wholesale"] }
true if the user logged in<br /> false if the user is not logged in
true
List of channel ID from where the request is coming
List of channel ID from where the request is coming
[12, 15]
Date for which the prices are to be retrieved
"2019-08-24T14:15:22Z"
Various price parameters to calculate final price
true if audit is required. Response body will have an audit object with details about how the dynamic pricing engine obtained the result.<br /> false if audit is not required.
true