Product Variations
Product Variations
Variations allow you to create the variations that your products have. Things like size or color are examples of a Variation. Using this system you can reliably create all possible combinations of your product. Learn more about using variations.
Variations are meant to be re-usable and contain multiple products, e.g. small, medium and large. You can view your product variations on the product object under relationships.
The variation object
Attribute | Type | Description |
|
| The unique identifier for this variation |
|
| Represents the type of object being returned (should be |
|
| A human readable name for this variation |
|
| Relationships to other resources |
|
| Relationships information regarding options for this variation |
|
| An array of relationships from this variation to options |
|
| The unique identifier for the option |
|
| The type ( |
|
| Included resources |
|
| Array of options that constitute the variation |
|
| The unique identifier for the option |
|
| Represents the type of object ( |
|
| A human readable name for the option |
|
| A human readable description for the option |
|
| Relationships to other resources |
|
| An array of relationships from this option to modifiers |
|
| The unique identifier for the modifier |
|
| The type ( |
|
| Array of modifiers that constitute the variation options |
|
| The unique identifier for the modifier |
|
| The type ( |
|
| One of the modifier types available |
|
| Value the modifier type allows |
The variation object is delivered as a compound document (it includes the attached options and modifiers). This is because the options and modifiers that constitute the variation are integral to its function and have no relevance in any other context.
Last updated