Returns a list of product variants. You can use product permalink:
GET /api/v2/storefront/products/knitted-high-neck-sweater/variants
Or Product ID:
GET /api/v2/storefront/products/21/variants
Note API will attempt a permalink lookup before an ID lookup.
Product Slug
Find Variants that have the specified option (eg. color, size) and value (eg. red, XS)
Number of requested page when paginating collection
Number of requested records per page when paginating collection
Specify what related resources (relationships) you would like to receive in the response body. Eg.
product,option_values,images,filter_values
Specify the fields you would like returned in the response body. More information.