removePromotionBuyRules - Promotion Module Reference
This documentation provides a reference to the removePromotionBuyRules
method. This belongs to the Promotion Module.
This method removes buy promotion rules from a promotion's application method.
Example
Parameters
promotionId
stringRequiredThe promotion's ID.
ruleIds
string[]RequiredThe buy promotion rules' IDs.
Returns
Promise
Promise<void>RequiredResolves when the buy promotion rules are deleted.
Was this section helpful?