Price Book Modifiers
You can use price modifiers to change the price property of child products. By default, child products inherit the same price as their base products. Using price modifiers, you can enable child products to inherit a different price. This enables you to configure the price of child products, for example, to be lower than its base product, without having to individually update the price of your child products. There are three types of price modifier.
Modifier | Data Type | Effect |
---|---|---|
price_increment | string | Increases the price of a product. |
price_decrement | string | Decreases the price of a product. |
price_equals | string | Sets the price of a product to the amount you specify. |
The following is an overview of the steps you need to follow to use price modifiers.
- Create a price modifier. You must give the price modifier a unique name. For more information, see Create a Price Modifier.
- Build your child products with the new product modifier.
📄️ Create a Modifier
You can use price modifiers to change the price property of child products. By default, child products inherit the same price as their base products. Using price modifiers, you can enable child products to inherit a different price. This enables you to configure the price of child products, for example, to be lower than its base product, without having to individually update the price of your child products. There are three types of price modifier.
📄️ Gets a list of all modifiers
Retrieves a list of price modifiers for the specified price book.
📄️ Get a Modifier
Retrieves the specified price book modifier from the specified price book.
📄️ Update a Modifier
Specify whichever attributes you want to change. The values of the other attributes remain the same. If the attributes section is empty, the price modifier is not updated.
📄️ Delete a Modifier
Deletes the specified price book modifier.