Get product variants by ID

Variants are different options of an item such as size, color, and materials. For example, there are 12 variants for a laptop that comes in three sizes (13, 15, and 17 inches) and four colors (red, blue, grey, and white). By adding variants to products, you can offer more options to shoppers .

1. At least one variant must be specified.
2. If you don't have product ID, use the corresponding SKU-based endpoint - GET /products/sku/{sku}/variants.
3. The status parameter is applicable to the id passed in path parameter and not for the variants. That is, the variants returned as part of the response are either the variants attached to the Live or Draft version of the product based on the status parameter.

Click Try It! to start a request and see the response here!