---
title: "Get all products"
method: GET
path: "/consumers/{consumer_id}/commerce/products"
tags: ["eCommerce", "Products and variants"]
---

# Get all products

`GET /consumers/{consumer_id}/commerce/products`

Returns a list of all the products

## Path parameters

- `consumer_id` string, uuid, required

## Query parameters

- `page` integer
- `size` integer
- `updated_after` string, date-time, nullable
- `sku` string, nullable

## Response `200`

Successful Response

- ChiftPageCommerceProductItem
  - `items` CommerceProductItem[], required
    - `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
    - `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
    - `last_updated_on` string, date-time, nullable
    - `variants` ProductVariantItem[], nullable
      - `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'
      - `variant_attributes` VariantAttributeItem[], nullable — List of attributes that are specific to the variant of the product.
        - `name` string, required
        - `value` 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
    - `status` 'unknown' | 'archived' | 'unpublished' | 'published'
    - `sku` string, nullable
    - `common_attributes` CommonAttributeItem[], nullable — List of attributes that are shared by all variants of the product.
      - `name` string, required
      - `values` string[], required
    - `variant_attributes_options` VariantAttributeOptionItem[], nullable
      - `name` string, required
      - `values` 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
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required

## Other responses

- `400` — Bad Request
- `422` — Validation Error

---

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