ProductVariationOption

Extends Object.

Properties
color

Type String | null

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

id

Type Number

The System ID for the variation option.

image

Type Url | null

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

maxValue

Type Number | null

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

minValue

Type Number | null

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

productIds

Type Array

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

selectable

Type Boolean

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

selected

Type Boolean

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

value

Type String or 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.