Skip to main content
Version: 3.x

sale

Look up a sale by ID.

Requires one of the following permissions: MANAGE_DISCOUNTS.

sale(
id: ID!
channel: String
): Sale

Arguments

id (ID!)

ID of the sale.

channel (String)

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

Type

Sale

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