draftOrders
QueryRetrieves draft orders data.
Arguments
- String
after Returns the elements in the list that come after the specified cursor.
- String
before Returns the elements in the list that come before the specified cursor.
- Int
first Returns the first n elements from the list.
- Int
last Returns the last n elements from the list.
- String
query - Matches draft orders whose customer email contains the supplied text.
Available filters1
defaultstringPerforms a case-insensitive contains match on the customer email.
Examplesbuyer@example.com@example.com
- SortDirection
sortDirection The direction used to order the returned resources.
Possible enum valuesASCOrders values from lowest to highest or alphabetically from A to Z.
DESCOrders values from highest to lowest or alphabetically from Z to A.
- DraftOrderSortKeys
sortKey The field used to order the returned resources.
Possible enum valuesCREATED_ATOrders drafts by when they were created.
TOTALOrders drafts by their total monetary value.
UPDATED_ATOrders drafts by when they were last updated.
Payload
- [DraftOrderEdge!]
edges A list of edges.
- [DraftOrder!]
nodes A flattened list of the nodes
- PageInfo!
pageInfo Information to aid in pagination.
- Int!
totalCount Identifies the total count of items in the connection.