SaleCreate Object
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.
type SaleCreate {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
sale: Sale
}
Fields
SaleCreate.discountErrors
● [DiscountError!]!
deprecated non-null object discounts
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
SaleCreate.errors
● [DiscountError!]!
non-null object discounts
SaleCreate.sale
● Sale
object discounts
Returned By
saleCreate
mutation