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 by shipping address to analyze regional sales patterns or plan logistics.

•

Sort by the financial_status value.

•

Sort by the fulfillment_status value.

•

Sort by the id value.

•

Sort by the order_number value.

•

Sort by the purchase order number to match external procurement systems or track recent orders.

•

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 by the total quantity of all line items to identify large purchases or analyze inventory demand patterns.

•

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?