This documentation provides a reference to the addCampaignPromotionsStep. It belongs to the @medusajs/medusa/core-flows package.
addCampaignPromotionsStep
@medusajs/medusa/core-flows
This step adds promotions to a campaign.
Code1const data = addCampaignPromotionsStep({2 id: "camp_123",3 add: ["promo_123"],4 remove: ["promo_321"],5})
1const data = addCampaignPromotionsStep({2 id: "camp_123",3 add: ["promo_123"],4 remove: ["promo_321"],5})