Price overrides allow you to have a different set of pricing for different customers.
Value | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
product_id Type: string Required | It stores the id of the product whose price is to be overridden. | ||||||||||
variant_id Type: string | It stores the id of the variant of the product, if any. | ||||||||||
product_name Type: string | The name of the product whose price is to be overridden. | ||||||||||
conditions Type: object | The conditions for which you want to override the prices.
| ||||||||||
override_type Type: string Required | The override type is the type of price that is discounted. There are four override types: Increment fixed: The override type in which a specified amount is added to the actual price of the product. Discount fixed: The override type in which a specified amount is deducted from the actual price of the product. Increment percentage: The override type in which a specified percentage of the actual price of the product is added to the price of the product. Discount percentage: The override type in which a specified percentage of the actual price of the product is deducted from the price of the product. Plain override: The amount specified simply overrides the actual product's price and becomes the final product's price. | ||||||||||
amount Type: number Required | The amount which is used under Override Type. | ||||||||||
seller Type: string | It stores the id of the seller if you wish to apply this override rule for a specific seller's products only. |