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