GET
/
api-category
/
v1
/
category
/
sku

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

id
string

A 4-character system-generated category ID. Either id or nodeId must be specified.

nodeId
integer

Numeric category ID. Either id or nodeId must be specified.

page
number

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.

size
number

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

200 - application/json
totalSize
number

Total number of records

pageSize
number

Number of records (SKUs) per page

pages
number

Number of pages for the given pageSize

id
string

A 24-character system-generated category ID

nodeId
number

Numeric category ID

name
string

Numeric category ID

skus
string[]

SKUs of items belonging to this category.