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