Skip to main content
GET
List Variants

List Variants

There is no standalone /products/{id}/variants.json route. Variants are returned embedded under each product, in a variants array. To get the variants for a single product, fetch the product and read its variants array:
  • GET /api/v1/products/{id}.json — one product with its variants.
  • GET /api/v1/products.json — all products, each with their variants.
Both require the read_products scope.

Path Parameters

id
string
required
The product ID (UUID, or the numeric Shopify-compat id).

Request

Response

Responses use the platform response envelope: status, state, message, data. The variants are nested under data.product.variants.
status
number
HTTP status code.
state
string
success or error.
data
object
Merchant (dashboard) JWT callers can also use GET /variants/get-all-unique-variants to list the distinct variant options defined across the store, and GET /variants/get-single-variant/{id} to fetch one variant by ID.