GET
/
api-product
/
v1
/
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.

itemIds
number[]

Item IDs. Applicable only when skus are omitted. <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
createdAfter
string

Lists 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

Lists 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 to narrow down the search results.

modifiedAfter
string

Lists 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

Gets 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.

onlyIncludeAttributes
string[]

Attributes are included based on their exact, case-sensitive names. For example, if you specify the values as xyZ and Abc, the response will include these attributes in both parent and child objects.

onlyExcludeAttributes
string[]

Attributes are excluded based on their exact, case-sensitive names. For example, if you specify the values as xyZ and Abc, the response will exclude these attributes from both parent and child objects. <br /> Note: When both onlyIncludeAttributes and onlyExcludeAttributes are used, the onlyIncludeAttributes takes precedence. As a result, attributes are first filtered based on onlyIncludeAttributes, and then onlyExcludeAttributes is applied to further refine the selection.

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[]