Skip to main content
Version: 3.x

promotionCreate

Creates a new promotion.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_CREATED (async): A promotion was created.
  • PROMOTION_STARTED (async): Optionally called if promotion was started.
promotionCreate(
input: PromotionCreateInput!
): PromotionCreate

Arguments

promotionCreate.input ● PromotionCreateInput! non-null input

Fields requires to create a promotion.

Type

PromotionCreate object

Creates a new promotion.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_CREATED (async): A promotion was created.
  • PROMOTION_STARTED (async): Optionally called if promotion was started.

Was this page helpful?