saleCreate Mutation
Creates a new sale.
DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionCreate
mutation instead.
Triggers the following webhook events:
- SALE_CREATED (async): A sale was created.
saleCreate(
input: SaleInput!
): SaleCreate
Arguments
saleCreate.input
● SaleInput!
non-null input discounts
Fields required to create a sale.
Type
SaleCreate
object discounts
Creates a new sale.
DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionCreate
mutation instead.
Triggers the following webhook events:
- SALE_CREATED (async): A sale was created.