Loading...
Was this page helpful?
This documentation provides a reference to the addOrRemoveCampaignPromotionsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow manages the promotions of a campaign. It's used by the Manage Promotions Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to manage the promotions of a campaign within your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
LinkWorkflowInput
LinkWorkflowInputid
stringadd
string[]Optionalid
.remove
string[]Optionalid
.