Skip to main content
Version: 3.x

orders

List of orders.

Requires MANAGE_ORDERSpermission.
orders(
sortBy: OrderSortingInput
filter: OrderFilterInput
channel: String
before: String
after: String
first: Int
last: Int
): OrderCountableConnection

Arguments

orders.sortBy ● OrderSortingInput input

Sort orders.

orders.filter ● OrderFilterInput input

Filtering options for orders.

orders.channel ● String scalar

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

orders.before ● String scalar

Return the elements in the list that come before the specified cursor.

orders.after ● String scalar

Return the elements in the list that come after the specified cursor.

orders.first ● Int scalar

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

orders.last ● Int scalar

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

OrderCountableConnection object


Was this page helpful?