---
title: "Get one specific product variant"
method: GET
path: "/consumers/{consumer_id}/commerce/variants/{variant_id}"
tags: ["eCommerce", "Products and variants"]
---

# Get one specific product variant

`GET /consumers/{consumer_id}/commerce/variants/{variant_id}`

Returns a specific product variant

## Path parameters

- `consumer_id` string, uuid, required
- `variant_id` string, required

## Response `200`

Successful Response

- VariantItem
  - `id` string, required — Technical id in Chift
  - `source_ref` Ref, required
    - `id` string, nullable — Technical id in the target software
    - `model` string, nullable — Name of the model/entity in the target software
  - `parent_id` string, required — Technical id of the parent product in Chift
  - `name` string, required
  - `description` string, nullable
  - `description_html` string, nullable
  - `categories` CommerceProductCategoryItem[], nullable
    - `id` string, required — Technical id of the category in Chift
    - `name` string, required
  - `created_on` string, date-time, nullable
  - `sku` string, nullable
  - `taxable` boolean, nullable
  - `barcode` string, nullable
  - `available_quantity` number, nullable
  - `prices` CommerceProductPriceItem[], nullable
    - `currency` string, required
    - `price` number, nullable
  - `unit_cost` ProductCostItem
    - `amount` number, required
    - `currency` string, required
  - `unit_of_measure` string, nullable
  - `weight` number, nullable
  - `weight_unit` string, nullable
  - `status` 'unknown' | 'archived' | 'unpublished' | 'published'
  - `inventory_details` InventoryDetailsItem[], nullable
    - `location` CommerceLocationItem, required
      - `id` string, required — Technical id of the location in Chift
      - `name` string, required
    - `available_quantity` number, required
  - `common_attributes` CommonAttributeItem[], nullable — List of attributes that are shared by all variants of the product.
    - `name` string, required
    - `values` string[], required
  - `variant_attributes` VariantAttributeItem[], nullable — List of attributes that are specific to the variant of the product.
    - `name` string, required
    - `value` string, required
  - `common_images` ImageItem[], nullable — List of images that are shared by all variants of the product.
    - `id` string, required — Technical id of the image in the target software
    - `main_image` boolean, required
    - `url` string, required
  - `variant_images` ImageItem[], nullable — List of images that are specific to the variant of the product.
    - `id` string, required — Technical id of the image in the target software
    - `main_image` boolean, required
    - `url` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
