Skip to main content

PromotionRuleUpdate Object

Updates an existing promotion rule.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_RULE_UPDATED (async): A promotion rule was updated.
type PromotionRuleUpdate {
errors: [PromotionRuleUpdateError!]!
promotionRule: PromotionRule
}

Fields

errors ● [PromotionRuleUpdateError!]!

promotionRule ● PromotionRule

Returned By

promotionRuleUpdate mutation