- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updatePromotions - Promotion Module Reference
This documentation provides a reference to the updatePromotions
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.
updatePromotions(data, sharedContext?): Promise<PromotionDTO[]>#
This method updates existing promotions.
Example#
Parameters#
data
UpdatePromotionDTO[]The attributes to update in the promotions.
data
UpdatePromotionDTO[]Returns#
Promise
Promise<PromotionDTO[]>The updated promotions.
Promise
Promise<PromotionDTO[]>updatePromotions(data, sharedContext?): Promise<PromotionDTO>#
This method updates an existing promotion.
Example#
Parameters#
The attributes to update in the promotion.
Returns#
Promise
Promise<PromotionDTO>The updated promotion.
Promise
Promise<PromotionDTO>Was this page helpful?