Loading...
Was this page helpful?
This documentation provides a reference to the addRulesToPromotionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step adds rules to a promotion.
AddPromotionRulesWorkflowDTO
AddPromotionRulesWorkflowDTOrule_type
PromotionRuleTypesdata
objectPromotionRuleDTO[]
PromotionRuleDTO[]id
stringvalues
PromotionRuleValueDTO[]description
null | stringOptionalattribute
stringOptional