Skip to content
Navigation

List storefront collections

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

Returns collections 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 collection title or handle.

  • locale
    optional
    string

Returns

200

A page of collections.

JSON
  • collections
    array of
    object
    required
    • id
      string
      required
    • title
      string
      required
    • handle
      string
      required
    • 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