Skip to main content
Version: 3.x

draftOrders

List of draft orders.

Requires one of the following permissions: MANAGE_ORDERS.

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

Arguments

sortBy (OrderSortingInput)

Sort draft orders.

filter (OrderDraftFilterInput)

Filtering options for draft orders.

before (String)

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

after (String)

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

first (Int)

Return the first n elements from the list.

last (Int)

Return the last n elements from the list.

Type

OrderCountableConnection