Skip to content
Navigation

List storefront categories

GET
https://{store_domain}/api/store/categories

Returns active, non-internal categories that contain at least one published product visible to the storefront's sales channel.

Authorization

  • publishableKey
    API key in header
    required

    x-publishable-api-key: <token>

Query parameters

  • limit
    optional
    integer
    maximum: 100 · minimum: 1 · default: 20
  • offset
    optional
    integer
    minimum: 0 · default: 0
  • q
    optional
    string

    Search category name or handle.

  • locale
    optional
    string

Returns

200

A page of categories.

JSON
  • categories
    array of
    object
    required
    • id
      string
      required
    • name
      string
      required
    • handle
      string
      required
    • is_active
      boolean
      required
    • rank
      integer
      required
    • description
      optional
      string | null
    • mpath
      optional
      string | null
    • is_internal
      optional
      boolean
    • parent_category_id
      optional
      string | null
    • metadata
      optional
      object
    • created_at
      optional
      string
      format: date-time
    • updated_at
      optional
      string
      format: date-time
  • count
    integer
    required
  • offset
    integer
    required
  • limit
    integer
    required

401

The publishable API key is missing or invalid.
JSON
  • type
    string
    required
  • message
    string
    required
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close