ProductSpecificationValue

Extends Object. Represents the value of a specification entry for a product.

Properties
color Color | null

If the product specification is a type of swatch, then the value can be accompanied with a hexidecimal color.

id Number

The system ID for the specification value.

image Url | null

If the product specification is a type of swatch, then the value can be accompanied with an image.

maxValue Number | null

Set when the specification is a range with a minimum and maxmimum number.

minValue Number | null

Set when the specification is a range with a minimum and maxmimum number.

productId Number

The ID of the current product.

productIds Array

The product IDs across all variations of this product with this specification value.

value String | Number

The value of the specification for the current Product e.g. Red.



Methods
toString() String

Returns the descriptive value property (above).