---
title: "Create a Channel Variation Item"
method: POST
path: "/pim/channels/{channel_id}/items/{item_id}/variation-items"
tags: ["PIM: Channels: Items"]
---

# Create a Channel Variation Item

`POST /pim/channels/{channel_id}/items/{item_id}/variation-items`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/pim/channels/{channel_id}/items/{item_id}/variation-items`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/pim/channels/:channel_id/items/:item_id/variation-items/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a Channel Variation Item

## Path parameters

- `channel_id` string, required
- `item_id` string, required

## Request body

- object
  - `data` object, required: Name of the element option
    - `type` string: Resource Type
    - `attributes` object: Attributes
      - `string_field_example` object
        - `value` string
      - `boolean_field_example` object
        - `value` boolean
      - `numeric_field_example` object
        - `value` number

## Response `200`

success

- CategoryItem
  - `data` CategoryItemData
    - `type` string
    - `id` string
    - `attributes` object: Category Item Attributes
      - `string_field_example` object
        - `value` string
      - `boolean_field_example` object
        - `value` boolean
      - `numeric_field_example` object
        - `value` number
      - `resource_field_example` object
        - `value` string
        - `meta` object
          - `resource_item_id` string
          - `resource_category_id` string
    - `links` object: Links
      - `self` string
    - `meta` object: Meta Information
      - `category_id` string
      - `family` string
      - `path` string[]
      - `variation` string
      - `variation_name` string
      - `level` integer
      - `is_end_level` boolean

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
