Options
The Product Variation Option Object
A variation option represents an option for selection for a single product-variation
. For example, if your variation is "color", you might have three possible options: red
, green
, and blue
.
Attribute | Type | Description |
---|---|---|
id | string | The unique identifier for this option. |
type | string | Represents the type of object being returned (should be option ). |
name | string | A human readable name for this option. |
description | string | A human readable description of the product-variation object. |
modifiers | array | An array of modifiers objects belonging to this variation option. |
Sample Object
{
"type": "option",
"id": "67af507f-e901-4647-a265-3aa931382959",
"name": "Red",
"description": "Red"
}