Categories (storefront API)
Storefront and customer routes of the categories module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.
GET /v1/categories
Section titled “GET /v1/categories”Get category tree
Responses:
200: Category tree retrieved.
GET /v1/categories/{slug}
Section titled “GET /v1/categories/{slug}”Get category by slug
Parameters:
slugin path (string, required).
Responses:
200: Category retrieved.404: Category not found.
GET /v1/categories/{slug}/products
Section titled “GET /v1/categories/{slug}/products”Get products in category
Parameters:
slugin path (string, required).pagein query (string, required).pageSizein query (string, required).
Responses:
200: Products retrieved.404: Category not found.