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
Arguments
promotionRuleUpdate.id
● ID!
non-null scalar miscellaneous
ID of the promotion rule to update.
promotionRuleUpdate.input
● PromotionRuleUpdateInput!
non-null input miscellaneous
Fields required to create a promotion rule.
Type
PromotionRuleUpdate
object discounts
Updates an existing promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_UPDATED (async): A promotion rule was updated.