ProductOptionValue
An option value is one of the possible values of a Product Option. Product Variants specify a unique combination of product option values.
Constructors
constructor
**new ProductOptionValue**()
An option value is one of the possible values of a Product Option. Product Variants specify a unique combination of product option values.
Properties
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
idstringRequiredThe product option value's ID
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
The details of the product option that the Product Option Value belongs to.
option_idstringRequiredThe ID of the Product Option that the Product Option Value belongs to.
updated_atDateRequiredThe date with timezone at which the resource was updated.
valuestringRequiredThe value that the Product Variant has defined for the specific Product Option (e.g. if the Product Option is "Size" this value could be
Small, Medium or Large).The details of the product variant that uses this product option value.
variant_idstringRequiredThe ID of the product variant that uses this product option value.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?