Skip to main content

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 miscellaneous

ID of the sale.

sale.channel ● String scalar miscellaneous

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

Type

Sale object discounts

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.