Get calculated prices
Retrieves prices for items either by SKUs or by item IDs based on the customer specific configuration set in the backend.
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.
Body
Prices conditions
Trace ID, used to trace logs
List of price list IDs which items or SKUs belong to
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.
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.
User ID
Segment the user belongs to
true if the user logged in<br /> false if the user is not logged in
List of channel ID from where the request is coming
Date for which the prices are to be retrieved
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.
Response
Price List ID
Item SKU
Item SKU
Offers on the price
Was this page helpful?