---
title: "Create an item"
method: POST
path: "/commerce/{connection_id}/item"
tags: ["commerce", "item"]
---

# Create an item

`POST /commerce/{connection_id}/item`

## Path parameters

- `connection_id` string, required

## Query parameters

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

## Request body

- CommerceItem
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `public_name` string
  - `slug` string
  - `description` string
  - `global_code` string
  - `public_description` string
  - `is_active` boolean
  - `is_taxable` boolean
  - `vendor_name` string
  - `type` string
  - `is_visible` boolean
  - `is_featured` boolean
  - `weight` number
  - `weight_unit` 'g' | 'kg' | 'oz' | 'lb'
  - `requires_shipping` boolean
  - `prices` CommerceItemPrice[]
    - `price` number, required
    - `compare_at_price` number
    - `currency` string
  - `inventory_id` string
  - `total_stock` number
  - `tags` 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
  - `account_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
  - `collections` CommerceReference[] — points to Collection with id, name, and type fields
    - `id` string
    - `name` string
    - `type` string
  - `taxrate_id` string
  - `location_id` string
  - `duration` number
  - `raw` object

## Response `200`

Successful

- CommerceItem
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `public_name` string
  - `slug` string
  - `description` string
  - `global_code` string
  - `public_description` string
  - `is_active` boolean
  - `is_taxable` boolean
  - `vendor_name` string
  - `type` string
  - `is_visible` boolean
  - `is_featured` boolean
  - `weight` number
  - `weight_unit` 'g' | 'kg' | 'oz' | 'lb'
  - `requires_shipping` boolean
  - `prices` CommerceItemPrice[]
    - `price` number, required
    - `compare_at_price` number
    - `currency` string
  - `inventory_id` string
  - `total_stock` number
  - `tags` 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
  - `account_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
  - `collections` CommerceReference[] — points to Collection with id, name, and type fields
    - `id` string
    - `name` string
    - `type` string
  - `taxrate_id` string
  - `location_id` string
  - `duration` number
  - `raw` object

## Changes

- **2026-09-11** `b837b009e30d` — 1 breaking, 2 warning
  - removed the enum value `variants` from the property `items/` of the `query` request parameter `fields`
  - removed the request property `variants`
  - removed the optional property `variants` from the response with the `200` status
- **2026-09-09** `3bea28547cc7` — 1 breaking, 2 warning
  - removed the enum value `collection_ids` from the property `items/` of the `query` request parameter `fields`
  - removed the request property `collection_ids`
  - removed the optional property `collection_ids` from the response with the `200` status

[Change history](https://skmtc.dev/unified/apis/unified-to-api/changes/commerce/:connection_id/item/post.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/e0a7ff925921?raw)
