Skip to navigation

Show Collection

Get a collection with its ordered items hierarchy (products and sections).

Authentication: Public with visitor fallback.

Path parameters:

  • id (required) — Collection slug

Query parameters:

  • collection_search (optional) — Search within collection items by title and description

Response:

  • collection_data — Ordered hierarchy of products and sections in the collection
  • is_search — Whether a search query is active
  • search_term — Active search term

Errors:

  • 401 — User doesn’t have access to the collection

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Collection slug

Response

OK