Poq.SDK.Node

Home > @poq/sdk-sfcc > Variant

Variant class

Document representing a product variation.

Signature:

export declare class Variant extends BaseModel<Variant> 

Extends: BaseModel<Variant

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the Variant class

Properties

Property Modifiers Type Description
link   string The URL addressing the product.
orderable?   boolean (Optional) A flag indicating whether the variant is orderable.
price?   number (Optional) The sales price of the variant.
pricePerUnit?   number (Optional) The sales price of the variant.
productId   string The id (SKU) of the variant.
variationValues?   { [key: string]: string; } (Optional) The actual variation attribute id - value pairs.