Retrieves product and price details, along with its child products’ details if there are any, by specific SKU and priceListId. If price details are not set up previously, it only retrieves the product information; price details are not returned in such cases.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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\"}"
SKU of the product whose details are to be retrieved. If the product has child products, details of the child products are also retrieved.
Get product by ID in a given price list. If priceListId is not provided, default priceList is selected to search the details for. If the SKUdoesn't belong to the default price list, price details are not returned.
The maximum number of records per page.
x >= 1
The number of records to skip before returning records. For example, when offset is 20 and limit is 10, this endpoint returns records from 21 to 30.
x >= 0
OK
The response is of type object
.
Retrieves product and price details, along with its child products’ details if there are any, by specific SKU and priceListId. If price details are not set up previously, it only retrieves the product information; price details are not returned in such cases.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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\"}"
SKU of the product whose details are to be retrieved. If the product has child products, details of the child products are also retrieved.
Get product by ID in a given price list. If priceListId is not provided, default priceList is selected to search the details for. If the SKUdoesn't belong to the default price list, price details are not returned.
The maximum number of records per page.
x >= 1
The number of records to skip before returning records. For example, when offset is 20 and limit is 10, this endpoint returns records from 21 to 30.
x >= 0
OK
The response is of type object
.