- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removeRulesFromPromotionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the removeRulesFromPromotionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step removes rules from a promotion.
Example#
Input#
RemovePromotionRulesWorkflowDTO
RemovePromotionRulesWorkflowDTOThe data to remove rules of a promotion.
RemovePromotionRulesWorkflowDTO
RemovePromotionRulesWorkflowDTOrule_type
PromotionRuleTypesThe type of rules to remove.
rule_type
PromotionRuleTypesdata
objectThe data to remove the rules.
data
objectWas this page helpful?