ProductVariationOption

Extends Object.

Properties
color Color | null

Contains a color reference if the ProductVariation.type is set to 'swatch'.

id Number

The System ID for the variation option.

image Url | null

Contains a URL if the ProductVariation.type is set to 'swatch' and Swatch Image has been set for the specification.

maxValue Number | null

Set if the ProductVariation.type is set to 'range', otherwise will contain a null value.

minValue Number | null

Set if the ProductVariation.type is set to 'range', otherwise will contain a null value.

productIds Array

Contains an array of product IDs this option is applicable to, within the scope of the master product.

selectable Boolean

True if the user may select the variant option, else false.

selected Boolean

True if the variant option is currently selected, else false.

value String | Number

The value of the variation option. If the Product Specification type the variation is based upon is numeric the value will have a type of Number, otherwise it will have a String value.