promotionRuleUpdate
Updates an existing promotion rule.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
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.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
Triggers the following webhook events:
- PROMOTION_RULE_UPDATED (async): A promotion rule was updated.