Skip to main content

sales

List all sales. Requires MANAGE_DISCOUNTS permission.

sales(
sortBy: SaleSortingInput
query: String
filter: SaleFilterInput
before: String
after: String
first: Int
last: Int
): SaleCountableConnection!

Arguments

sales.sortBy ● SaleSortingInput input

sales.query ● String scalar

sales.filter ● SaleFilterInput input

sales.before ● String scalar

Returns the items in the list that come before the specified cursor.

sales.after ● String scalar

Returns the items in the list that come after the specified cursor.

sales.first ● Int scalar

Returns the first n items from the list.

sales.last ● Int scalar

Returns the items in the list that come after the specified cursor.

Type

SaleCountableConnection object

A connection to a list of items.

Was this page helpful?