Find categories
This endpoint is used to search and find specific categories based on the search criteria given in the request body. This endpoint is also used to find the root category that’s automatically created when the merchant is onboarded to fabric Product Catalog.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
Body
Sorting criteria. Supported values are createdAt
, updatedAt
, and name
. -
refers to descending and +
refers to ascending order
Specification for matching attributes
Number of records to skip before returning records. For example, offset=20, limit=10
returns records 21-30.
Maximum number of records per page
Response
Search categories response
Number of records to skip before returning records. For example, offset=20, limit=10
returns records 21-30.
Maximum number of records per page
Total number of records in the response
Was this page helpful?