import type { ProductPriceTable } from './ProductPriceTable'; /** * @type Variant: A product which is a variation within a master product that describes different colors, sizes, or other variation attributes. *Has a SKU.* * * @property orderable: A flag indicating whether the variant is orderable. * * @property price: The sales price of the variant. * * @property productId: The ID (SKU) of the variant. * - **Min Length:** 1 * - **Max Length:** 100 * * @property tieredPrices: List of tiered prices if the product is a variant * * @property variationValues: The actual variation attribute ID - value pairs. * */ export type Variant = { orderable?: boolean; price?: number; productId: string; tieredPrices?: Array; variationValues?: { [key: string]: string; }; } & { [key: string]: any; };