Skip to main content

Endpoints

Retrieve product categories for the current workspace. Responses honor the optional lang query param to return translated names/slugs (fallback to the base value when a translation is missing). Results are workspace-scoped and cached for faster repeated reads.

Authentication

string
required
Bearer token with catalog:read or products:read scope (e.g. Authorization: Bearer YOUR_API_KEY)

Query parameters

string
Locale to use for translations (e.g., en, fr). Defaults to the base category values when omitted.
integer
default:"1"
Category version. Only for the collection endpoint.

Collection: list categories

Returns the category tree for the workspace.

Response

array
required
Array of category tree nodes

Example

cURL

Single: get a category

Returns a single category with translations applied.

Response

object
required
Category object with translated name/slug when available. Fields match the collection item shape (no children beyond the requested node).

Example

cURL