Skip to main content
GET
List all Product Variants

Path Parameters

product_slug
string
required

Product Slug

Query Parameters

filter[options][color]
string

Find Variants that have the specified option (eg. color, size) and value (eg. red, XS)

page
integer

Number of requested page when paginating collection

per_page
integer

Number of requested records per page when paginating collection

include
string

Specify what related resources (relationships) you would like to receive in the response body. Eg.

More information

fields[variant]
string

Specify the fields you would like returned in the response body. More information.

Response

200 - application/vnd.api+json

200 Success - Returns an array of variant objects.

data
Variant · object[]
required
meta
Pagination Meta · object
required
included
(Product · object | Image · object | Option Value · object)[]