Get items and limited children items
Gets items (single item or bundles) by skus
or parent skus
. When a parent SKU is sent as query parameter, you’ll get children items of those SKUs. When parentSKU
is not specified, children items are not retrieved. Optionally, page
and size
can be used as query parameters. Note:
1) status
and date
query parameters works only with pagination when parentSku
is omitted. Separate responses are shown for bundle and product.
2) when parentSku
is passed as request parameter, it will only return the paginated response of children of parentSKU
.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
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.
Query Parameters
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 to be retrieved. Applicable only in a paginated response and always paired with size
.
Number of records per page. Applicable only in a paginated response and always paired with page
.
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.
ACTIVE
, INACTIVE
Item type. Note: Set page and size to use this filter.
ITEM
, BUNDLE
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.
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.
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.
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.
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.
Was this page helpful?