---
title: "List SKUs in Product"
method: GET
path: "/v1/products/{productId}/skus"
tags: ["Products"]
---

# List SKUs in Product

`GET /v1/products/{productId}/skus`

Retrieve all SKUs for a given product.

## Query parameters

- `limit` integer
- `page` integer
- `order` 'created_at' | '-created_at' | 'updated_at' | '-updated_at' | 'type' | '-type' | 'code' | '-code' | 'campaign' | '-campaign' | 'category' | '-category'
- `start_date` string, date-time
- `end_date` string, date-time

## Response `200`

Returns a dictionary of SKUs.

- ProductsSkusListResponseBody — Contains information about SKUs.
  - `object` string, required — The type of the object represented by JSON. This object stores information about SKUs.
  - `data_ref` string, required — Identifies the name of the JSON property that contains the array of SKUs.
  - `skus` Sku[], required — A dictionary that contains an array of SKUs.
    - `id` string, required — A unique identifier that represents the SKU and is assigned by Voucherify.
    - `source_id` string, nullable, required — A unique SKU identifier from your inventory system.
    - `product_id` string, required — The parent product's unique ID.
    - `sku` string, nullable, required — Unique user-defined SKU name.
    - `price` integer, nullable, required — Unit price. It is represented by a value multiplied by 100 to accurately reflect 2 decimal places, such as `$100.00` being expressed as `10000`.
    - `currency` string, nullable — SKU price currency.
    - `attributes` object, required — The attributes object stores values for all custom attributes inherited by the SKU from the parent product. A set of key/value pairs that are attached to a SKU object and are unique to each SKU within a product family.
    - `image_url` string, nullable, required — The HTTPS URL pointing to the .png or .jpg file that will be used to render the SKU image.
    - `metadata` object, required — The metadata object stores all custom attributes assigned to the SKU. A set of key/value pairs that you can attach to a SKU object. It can be useful for storing additional information about the SKU in a structured format. It can be used to create product collections.
    - `created_at` string, date-time, required — Timestamp representing the date and time when the SKU was created. The value is shown in the ISO 8601 format.
    - `updated_at` string, date-time, nullable, required — Timestamp representing the date and time when the SKU was updated. The value is shown in the ISO 8601 format.
    - `object` 'sku', required — The type of the object represented by JSON. This object stores information about the `SKU`.
  - `total` integer, required — Total number of SKUs in the product.

## Other responses

- `404` — Returns an error when requesting a product that has been deleted or cannot be found.

---

[API](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions.md) · [All operations](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voucherifyio/voucherify-api-async-actions/versions/4982266e0494/schema)
