Category

List the filterable attributes of a category

Changed on

Returns the filterable attributes for the layered navigation of a category, with their options and the price range of its products (converted to the requested currency). When the category has no filterable attributes of its own, or no category is given, every globally filterable attribute is returned. Public endpoint.

get/categories/attributes

Request

Query parameters

category_idinteger
Example:2

Category ID. Returns 404 when the category does not exist.

category_slugstring
Example:men

Category slug, used when category_id is not sent.

Headers

X-STOREFRONT-KEYstring required

Storefront API Key for authentication. Required for all shop/storefront API requests.

X-Localestring
Example:en

Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.

X-Channelstring
Example:default

Channel code (e.g. "default"). Defaults to the current channel.

X-Currencystring
Example:USD

Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.

Response

Filterable attributes.

Changes