Get product and price by sku
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.
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.
Path Parameters
SKU of the product whose details are to be retrieved. If the product has child products, details of the child products are also retrieved.
Query Parameters
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
Response
fabric internal ID of the product
Sales channel of the product
Start date of the product
End date of the product
ID of the group or category the product belongs to
Array of URLs to images of different variants or attributes
false for parent product<br /> If a parent product has child items, true represents the default child item to be displayed, under the parent product, on the product listing page.
true if the item is active and displayed in the catalog. isActive will be true only when state is READY
<br /> false if the state is DRAFT
, and item is not displayed in the catalog
true indicates the product is deleted <br /> false indicates the product is not deleted
Title of the product
Family of products the item belongs to
SKU of the product
Description of the product
Status of the product. It indicates if the product is ready to be published on the product listing page.
Item ID of the product
Details of images of the product displayed on copilot UI
Details of product attributes if any
Different variants of the product
Creation date of the product
Last updated date of the product
Lists fabric objectId of child products if there are any
Price details of the product if it was setup previously
Price ranges of the product
Current market price of the product with which the product is sold
Start date and end date of the offer price