delete - Promotion Module Reference
This documentation provides a reference to the delete
method. This belongs to the Promotion Module.
delete(ids, sharedContext?): Promise<void>
This method deletes promotions by their IDs.
Example
Parameters
ids
string[]RequiredThe IDs of the promotion.
Returns
Promise
Promise<void>RequiredResolves when the promotions are deleted.
delete(ids, sharedContext?): Promise<void>
This method deletes a promotion by its ID.
Example
Parameters
ids
stringRequiredThe IDs of the promotion.
Returns
Promise
Promise<void>RequiredResolves when the promotion is deleted.
Was this section helpful?