Skip to main content

PromotionUpdate Object

Updates an existing promotion.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_UPDATED (async): A promotion was updated.
  • PROMOTION_STARTED (async): Optionally called if promotion was started.
  • PROMOTION_ENDED (async): Optionally called if promotion was ended.
type PromotionUpdate {
errors: [PromotionUpdateError!]!
promotion: Promotion
}

Fields

PromotionUpdate.errors ● [PromotionUpdateError!]! non-null object miscellaneous

PromotionUpdate.promotion ● Promotion object discounts

Returned By

promotionUpdate mutation