- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
createPriceRules - Pricing Module Reference
This documentation provides a reference to the createPriceRules
method. This belongs to the Pricing Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method is used to create new price rules based on the provided data.
Example#
Parameters#
data
CreatePriceRuleDTO[]The price rules to create.
data
CreatePriceRuleDTO[]Returns#
Promise
Promise<PriceRuleDTO[]>The list of created price rules.
Promise
Promise<PriceRuleDTO[]>Was this page helpful?