Skip to main content
Version: 3.x

SaleUpdate

Updates a sale.

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

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_UPDATED (async): A sale was updated.
  • SALE_TOGGLE (async): Optionally triggered when a sale is started or stopped.
type SaleUpdate {
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
sale: Sale
}

Fields

SaleUpdate.discountErrors ● [DiscountError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

SaleUpdate.errors ● [DiscountError!]! non-null object

SaleUpdate.sale ● Sale object

Returned by

saleUpdate mutation


Was this page helpful?