Skip to main content
Version: 3.x

saleCreate

Creates a new sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionCreate mutation instead.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_CREATED (async): A sale was created.
saleCreate(
input: SaleInput!
): SaleCreate

Arguments

saleCreate.input ● SaleInput! non-null input

Fields required to create a sale.

Type

SaleCreate object

Creates a new sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionCreate mutation instead.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_CREATED (async): A sale was created.

Was this page helpful?