---
title: "Retrieve a collection"
method: GET
path: "/commerce/{connection_id}/collection/{id}"
tags: ["commerce", "collection"]
---

# Retrieve a collection

`GET /commerce/{connection_id}/collection/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- CommerceCollection — A collection of items/products/services
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string, required
  - `public_name` string
  - `description` string
  - `public_description` string
  - `media` CommerceItemMedia[]
    - `id` string
    - `url` string, required
    - `alt` string
    - `type` 'image' | 'video'
    - `height` number
    - `width` number
    - `position` number
    - `metadata` CommerceMetadata[]
      - `id` string
      - `value` union
        - object
        - string
        - number
        - boolean
        - union[]
          - union
            - object
            - string
            - number
            - boolean
      - `namespace` string
      - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
      - `extra_data` union
        - object
        - string
        - number
        - boolean
        - union[]
          - union
            - object
            - string
            - number
            - boolean
      - `slug` string
      - `description` string
      - `is_required` boolean
  - `is_visible` boolean
  - `is_active` boolean
  - `is_featured` boolean
  - `tags` string[]
  - `type` 'COLLECTION' | 'SAVED_SEARCH' | 'CATEGORY'
  - `parent_id` string
  - `metadata` CommerceMetadata[]
    - `id` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `slug` string
    - `description` string
    - `is_required` boolean
  - `item_metadata` CommerceMetadata[]
    - `id` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `slug` string
    - `description` string
    - `is_required` boolean
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/versions/1f72720916e4/schema)
