promotionRuleUpdate Mutation
Updates an existing promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_UPDATED (async): A promotion rule was updated.
promotionRuleUpdate(
id: ID!
input: PromotionRuleUpdateInput!
): PromotionRuleUpdate
Show return type
Arguments
id ● ID!
ID of the promotion rule to update.
input ● PromotionRuleUpdateInput!
Fields required to create a promotion rule.
Type
PromotionRuleUpdate
Updates an existing promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_UPDATED (async): A promotion rule was updated.