Gets all the available category sources.
Items are created under the Primary category, and Alternate categories are created to export alternate organizations of the Primary category. So, the Primary category is the source of items that appear in Alternate categories. The category sources are Primary categories that can be used as item sources in Alternate categories. Sources behave similar to symlinks.
S2S access token (JWT) from fabric Identity service (during Login)
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\"}"
A 24-character system-generated category ID. id and nodeId are the two identifiers of a category and one of them must be specified.
Numeric category ID. id and nodeId are the two identifiers of a category and one of them must be specified.
Status of Category source. If omitted, 'ASSIGNED' status is used as default.
ASSIGNED, UNASSIGNED "ASSIGNED"
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.
OK
Total number of records (categories)
100
Number of records (categories) in a page
10
Number of pages for the given pageSize
10
A 24-character system-generated category ID
"6170135a49b4af38190970fe"
Numeric category ID
12
Category name
"Furniture"