Home > @infiniteobjects/shopify-data-manager > AdminTypes > DraftOrderSortKeys
The set of valid sort keys for the DraftOrder query.
Signature:
export declare enum DraftOrderSortKeys
| Member | Value | Description |
|---|---|---|
| CustomerName | "CUSTOMER_NAME" |
Sort by the customer_name value. |
| Id | "ID" |
Sort by the id value. |
| Number | "NUMBER" |
Sort by the number value. |
| Relevance | "RELEVANCE" |
Sort by relevance to the search terms when the query parameter is specified on the connection. Don’t use this sort key when no search query is specified. |
| Status | "STATUS" |
Sort by the status value. |
| TotalPrice | "TOTAL_PRICE" |
Sort by the total_price value. |
| UpdatedAt | "UPDATED_AT" |
Sort by the updated_at value. |