---
title: "Retrieve all Product Variants."
method: GET
path: "/products/{id}/variants.json"
tags: ["Product Variants"]
---

# Retrieve all Product Variants.

`GET /products/{id}/variants.json`

## Path parameters

- `id` integer, required

## Response `200`

OK

- Variant[]
  - `variant` VariantFields
    - `id` integer — Unique identifier of the product
    - `price` number, float — Price of the product
    - `sku` string — Stock Keeping Unit of the Product's Variant
    - `barcode` string — Barcode of the Product's Variant
    - `stock` integer — Quantity in stock for the Product's Variant
    - `stock_unlimited` boolean — True if the Product's Variant has unlimited stock
    - `stock_threshold` integer — Low stock threshold quantity.
    - `stock_notification` boolean — True if the Product has low stock threshold quantity enabled
    - `cost_per_item` number — Cost per item for the Product's Variant (only you can see this)
    - `compare_at_price` number — Used to show a sale price. Value must be higher than the price
    - `options` ProductOptionVariantEdit[]
      - `name` string — Name of the product option
      - `option_type` 'option' | 'color' — Type of the product option that generates variants
      - `value` string — Value of the product option
      - `custom` string — Hexadecimal value of color. Only available for product option type 'Color'
      - `product_option_position` integer — position of product option
      - `product_value_position` integer — position of product option value
    - `image` ImageFields
      - `id` integer — Unique identifier of the image
      - `position` integer — Position of the image
      - `url` string — Complete URL of the image

## Other responses

- `404` — Product Not Found.

---

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