- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updatePromotionRulesStep - Medusa Core Workflows Reference
This documentation provides a reference to the updatePromotionRulesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates one or more promotion rules.
Example#
Input#
UpdatePromotionRulesWorkflowDTO
UpdatePromotionRulesWorkflowDTOThe data to update promotion rules.
UpdatePromotionRulesWorkflowDTO
UpdatePromotionRulesWorkflowDTOdata
UpdatePromotionRuleDTO[]The promotion rules to update.
data
UpdatePromotionRuleDTO[]Output#
PromotionRuleDTO[]
PromotionRuleDTO[]
PromotionRuleDTO[]
PromotionRuleDTO[]PromotionRuleDTO
PromotionRuleDTOThe promotion rule details.
PromotionRuleDTO
PromotionRuleDTOWas this page helpful?