promotionCreate Mutation
Creates a new promotion.
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
Details
type PromotionCreate {
errors: [PromotionCreateError!]!
promotion: Promotion
}
Arguments
input ● PromotionCreateInput!
Fields requires to create a promotion.
Type
PromotionCreate
Creates a new promotion.
Triggers the following webhook events:
- PROMOTION_CREATED (async): A promotion was created.
- PROMOTION_STARTED (async): Optionally called if promotion was started.