DraftOrderSortKeys enum

Version 2020-04 (Release candidate)

The set of valid sort keys for the draftOrders query.

Values

CUSTOMER_NAME

Sort by the customer_name value.

ID

Sort by the id value.

NUMBER

Sort by the number value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

STATUS

Sort by the status value.

TOTAL_PRICE

Sort by the total_price value.

UPDATED_AT

Sort by the updated_at value.

Version 2020-01 (Latest)

The set of valid sort keys for the draftOrders query.

Values

CUSTOMER_NAME

Sort by the customer_name value.

ID

Sort by the id value.

NUMBER

Sort by the number value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

STATUS

Sort by the status value.

TOTAL_PRICE

Sort by the total_price value.

UPDATED_AT

Sort by the updated_at value.

Version 2019-10

The set of valid sort keys for the draftOrders query.

Values

CUSTOMER_NAME

Sort by the customer_name value.

ID

Sort by the id value.

NUMBER

Sort by the number value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

STATUS

Sort by the status value.

TOTAL_PRICE

Sort by the total_price value.

UPDATED_AT

Sort by the updated_at value.

Version 2019-07

The set of valid sort keys for the draftOrders query.

Values

CUSTOMER_NAME

Sort by the customer_name value.

ID

Sort by the id value.

NUMBER

Sort by the number value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

STATUS

Sort by the status value.

TOTAL_PRICE

Sort by the total_price value.

UPDATED_AT

Sort by the updated_at value.

Version 2019-04

The set of valid sort keys for the draftOrders query.

Values

CUSTOMER_NAME

Sort by the customer_name value.

ID

Sort by the id value.

NUMBER

Sort by the number value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

STATUS

Sort by the status value.

TOTAL_PRICE

Sort by the total_price value.

UPDATED_AT

Sort by the updated_at value.