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.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Query Parameters
A 4-character system-generated category ID. Either id
or nodeId
must be specified.
Numeric category ID. Either id
or nodeId
must be specified.
Page number to be retrieved. <br /> Note: <br /> 1) Applicable only in a paginated response. <br /> 2) Always paired with size
<br /> 3) No default value set. Unless a value is specified, endpoint returns an error.
Number of records per page <br /> Note: <br /> 1) Always paired with page
. <br /> 2) Applicable only in a paginated response. <br /> 3) No default value set. Unless a value is specified, endpoint returns an error.
Response
OK
Total number of records
3
Number of records (SKUs) per page
10
Number of pages for the given pageSize
1
A 24-character system-generated category ID
"6196b45b5cb04b7ce167cb46"
Numeric category ID
2
Numeric category ID
"electronics"
SKUs of items belonging to this category.
["mobo12001", "mobo12002", "mobo12003"]