ProductVariation

Extends Object

Properties
description String

The description of the specification.

id Number

The System ID for the variation.

identifier String

A string identifier applied to the specification.

isBoolean Boolean

Set to true if the type is 'boolean'.

isNumeric Boolean

Set to true if the type is 'numeric'.

isRange Boolean

Set to true if the type is 'range'.

isString Boolean

Set to true if the type is 'string' (default).

isSwatch Boolean

Set to true if the type is 'swatch'.

options Array

The list of variation options. Each element of the Array contains a ProductVariationOption object.

title String

The title of the variation.

type String

The type of specification/variation, which may be used to determine how to render the specification title and value. Currently the supported specification types are:

  • boolean
  • numeric
  • range
  • string (default)
  • swatch
url Url | null

Contains a URL to a help document if set, otherwise is set to null.