Skip to main content
Version: 3.x

draftOrders

List of draft orders.

Requires MANAGE_ORDERSpermission.
draftOrders(
sortBy: OrderSortingInput
filter: OrderDraftFilterInput
before: String
after: String
first: Int
last: Int
): OrderCountableConnection

Arguments

draftOrders.sortBy ● OrderSortingInput input

Sort draft orders.

draftOrders.filter ● OrderDraftFilterInput input

Filtering options for draft orders.

draftOrders.before ● String scalar

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

draftOrders.after ● String scalar

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

draftOrders.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.

draftOrders.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?