Enables you to get price details based on price ID
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\"}"
The ID associated with the price of an item
PriceListId to get the price from.
The type of id that is provided in path for priceId.
id
, itemId
, itemSku
Successfully retrieves price details.
Get Price Response