Skip to main content
GET
Returns the variants of a single product, with optional filtering by SKU and identifiers.

Path parameters

string
required
The product’s ID.

Query parameters

number
default:"50"
Maximum number of records to return.
number
default:"0"
Number of records to skip.
string
Field to sort by, prefix with - for descending order.
string
Comma-separated list of fields to include, prefix with +/- to add or remove from defaults.
string
Search term matched against variant fields.
string | string[]
Filter by variant ID(s).
string
Filter by SKU.
string
Filter by EAN.
string
Filter by UPC.
string
Filter by barcode.

Response

object[]
number
Total number of matching variants.
number
Number of records skipped.
number
Number of records returned.