ProductVariantPrices
constProductVariantPrices: {~schema: {isOnSale:boolean;lowestPriorPrice?: {amount:number;currency:string; };price: {amount:number;currency:string; };savingsPercent?:number;strikethroughPrice?: {amount:number;currency:string; };unitPrice?: {price: {amount:number;currency:string; };quantity: {unit:MeasurementUnit;value:number; };reference: {unit:MeasurementUnit;value:number; }; }; }; }
Represents the price-information of a product variant.
Note that there's also ProductVariantQuantityPrices for quantity-based pricing.
Type declaration
| Name | Type | Default value | Description | 
|---|---|---|---|
   | {   | ‐  | ‐  | 
  | 
  | ‐  | If true, indicates that the product variant is discounted from its original price.
See   | 
  | {   | ‐  | Lowest price of the product variant in the last 30 days. Required for regulatory compliance with the EU Omnibus Directive. See  | 
  | 
  | ‐  | Amount in smallest unit of currency. E.g. cents, pence, etc.  | 
  | 
  | ‐  | ISO 4217 currency code. E.g. 'USD', 'EUR', 'GBP', etc.  | 
  | {   | 
  | The price of the product variant for a quantity of 1. See  | 
  | 
  | ‐  | Amount in smallest unit of currency. E.g. cents, pence, etc.  | 
  | 
  | ‐  | ISO 4217 currency code. E.g. 'USD', 'EUR', 'GBP', etc.  | 
  | 
  | ‐  | Percentage of discount from the   | 
  | {   | ‐  | The price of the product variant for a quantity of 1, before any discounts. See  | 
  | 
  | ‐  | Amount in smallest unit of currency. E.g. cents, pence, etc.  | 
  | 
  | ‐  | ISO 4217 currency code. E.g. 'USD', 'EUR', 'GBP', etc.  | 
  | {   | ‐  | Price per unit of the product variant. E.g. 100 EUR per 100g.  | 
  | {   | 
  | Price for the given reference measurement.  | 
  | 
  | ‐  | Amount in smallest unit of currency. E.g. cents, pence, etc.  | 
  | 
  | ‐  | ISO 4217 currency code. E.g. 'USD', 'EUR', 'GBP', etc.  | 
  | {   | 
  | The quantity in the product variant. E.g. a bottle might be 330ml  | 
  | 
  | ‐  | ‐  | 
  | 
  | ‐  | ‐  | 
  | {   | 
  | The reference quantity for showing the price per unit. E.g. xx EUR / 100ml  | 
  | 
  | ‐  | ‐  | 
  | 
  | ‐  | ‐  |