Skip to main content
Version: 3.x

sale

DEPRECATED

This field will be removed in Saleor 4.0. Use the promotion query instead.

Look up a sale by ID.

Requires MANAGE_DISCOUNTSpermission.
sale(
id: ID!
channel: String
): Sale @deprecated

Arguments

sale.id ● ID! non-null scalar

ID of the sale.

sale.channel ● String scalar

Slug of a channel for which the data should be returned.

Type

Sale object

Sales allow creating discounts for categories, collections or products and are visible to all the customers.

DEPRECATED: this type will be removed in Saleor 4.0. Use Promotion type instead.


Was this page helpful?