GET
/
api-product
/
v2
/
product

Authorizations

Authorization
string
headerrequired

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-site-context
string
required

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.

Query Parameters

skus
string

Stock Keeping Units (SKUs). <br /> Note: Either skus or itemIds can be used to get specific items. If they are omitted, all items are returned in a paginated response. Using the query parameters page and size, you can narrow down the search results.

page
number

Page number to be retrieved. Applicable only in a paginated response and always paired with size.

size
number

Number of records per page. Applicable only in a paginated response and always paired with page.

status
enum<string>

Item status. <br /> Note: <br /> 1) Returns a paginated response. <br /> 2) When used as the only criteria, must be paired with size and page to narrow down the search results.

Available options:
ACTIVE,
INACTIVE
type
enum<string>

Item type. Note: Set page and size to use this filter.

Available options:
ITEM,
BUNDLE
createdAfter
string

Items created after a specific date. Valid date formats are 'YYYY/MM/DD', 'YYYY-MM-DDTHH:mm:ss.SSSZ'. <br /> Note: <br /> 1) Applicable only when skus and itemIds are omitted. <br /> 2) Returns paginated response. <br /> 3) Must be paired with size and page to narrow down the search results.

createdBefore
string

Items created before a specific date. Valid date formats are 'YYYY/MM/DD', 'YYYY-MM-DDTHH:mm:ss.SSSZ'. <br /> Note: <br /> 1) Applicable only when skus and itemIds are omitted. <br /> 2) Returns paginated response. <br /> 3) Must be paired with size and page narrow down the search results.

modifiedAfter
string

Items modified after a specific date. Valid date formats are 'YYYY/MM/DD', 'YYYY-MM-DDTHH:mm:ss.SSSZ'. <br /> Note: <br /> 1) Applicable only when skus or itemIds are omitted. <br /> 2) Returns paginated response. <br /> 3) Must be paired with size and page to narrow down the search results.

modifiedBefore
string

Items modified before a specific date. Valid date formats are 'YYYY/MM/DD', 'YYYY-MM-DDTHH:mm:ss.SSSZ'. <br /> Note: <br /> 1) Applicable only when skus and itemIds are omitted. <br /> 2) Returns paginated response. <br /> 3) Must be paired with size and page to narrow down the search results.

parentSku
string

Parent SKU to get its children items. <br /> Note <br /> 1) To get a p paginates response, optionally, size and page can be used as query parameters. When they are omitted, this endpoint returns all children. <br /> 2) Only page and size are supported with this query parameter, to narrow down the search results.

Response

200 - application/json
totalSize
number

Total number of records (items)

pageSize
number

Number of records (items) in a page

pages
number

Number of pages for the given pageSize

products
object[]