Get assigned category attributes
Gets all attributes assigned to a category.
Note:
Get category endpoint (GET /v1/category) returns categories, their attributes, children categories, and breadcrumb details. So, this endpoint is recommended if you have a category ID and only require its attributes.
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
A 24-character system-generated category ID. Either id
or nodeId
must be specified.
Numeric category ID. Either nodeId
or id
must be specified.
Attribute status. When id
or nodeId
is specified along with status
= Assigned
, the response is faster because the data is fetched from cache. When the status
is Unassigned
, the data is fetched from the DB and the response could take longer.
ASSIGNED
, UNASSIGNED
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
.
Response
Total number of records (attributes)
Number of records (attributes) in a page
Number of pages for the given pageSize
A 24-character system-generated category ID
Numeric category ID
Was this page helpful?