Get items and children items
Items can be individual items or a bundle of items. This endpoints allows you to retrieve items - individual items and bundles, along with their attributes, children items and their details.
Note:
1) Optional filter parameters can be passed in as query to narrow down the search results.
2) This API will only return the count and details of Parent SKU and not its variants
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.
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 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
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.
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.
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.
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.
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.
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
Total number of records (items)
Number of records (items) in a page
Number of pages for the given pageSize
Was this page helpful?