Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

enum

The set of valid sort keys for the Order query.

•

Sort by the created_at value.

•

Sort by the customer_name value.

•

Sort orders by their shipping address country and city.

•

Sort by the financial_status value.

•

Sort by the fulfillment_status value.

•

Sort by the id value.

•

Sort by the order_number value.

•

Sort orders by their purchase order number.

•

Sort by the processed_at value.

•

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.

Anchor to TOTAL_ITEMS_QUANTITYTOTAL_ITEMS_QUANTITY
•

Sort orders by the total quantity of all line items.

•

Sort by the total_price value.

•

Sort by the updated_at value.


Was this section helpful?

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENTDeprecated

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.


Was this section helpful?