- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deletePromotions - Promotion Module Reference
This documentation provides a reference to the deletePromotions
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.
deletePromotions(ids, sharedContext?): Promise<void>#
This method deletes promotions by their IDs.
Example#
Parameters#
ids
string[]The IDs of the promotion.
Returns#
Promise
Promise<void>Resolves when the promotions are deleted.
deletePromotions(ids, sharedContext?): Promise<void>#
This method deletes a promotion by its ID.
Example#
Parameters#
ids
stringThe IDs of the promotion.
Returns#
Promise
Promise<void>Resolves when the promotion is deleted.
Was this page helpful?