- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removePromotionTargetRules - Promotion Module Reference
This documentation provides a reference to the removePromotionTargetRules
method. This belongs to the Promotion Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method removes target promotion rules from a promotion's application method.
Example#
Parameters#
promotionId
stringThe promotion's ID.
ruleIds
string[]The target promotion rules' IDs.
Returns#
Promise
Promise<void>Resolves when the target promotion rules are deleted.
Was this page helpful?