Skip to main content

PromotionCreate Object

Creates a new promotion.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_CREATED (async): A promotion was created.
  • PROMOTION_STARTED (async): Optionally called if promotion was started.
type PromotionCreate {
errors: [PromotionCreateError!]!
promotion: Promotion
}

Fields

PromotionCreate.errors ● [PromotionCreateError!]! non-null object miscellaneous

PromotionCreate.promotion ● Promotion object discounts

Returned By

promotionCreate mutation