Variant object

A commonly used API is the Variants API. A variant is a particular version of a product within a store. For example the product could be "Summer dress" and a variant would be the "Red Summer Dress".

By using the Appollo variants API you can create, read, update and delete a merchants variants directly in your application.

The structure of the Variants object is as follows

Property

Type

String

id

string

The Id of the particular variant

price

string

The price of the variant

sku

string

The stock keeping number of the variant

weight

string

`The weight of the particular variant

quantity

string

The stock of this variant

options_selected

array

The array of options of types (e.g [{color:"blue"},{ color:"green"}]

media

array

The array of media objects