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 GiftCard query.

•

Sort by the amount_spent value.

•

Sort by the balance value.

•

Sort by the code value.

•

Sort by the created_at value.

•

Sort by the customer_name value.

•

Sort by the disabled_at value.

•

Sort by the expires_on value.

•

Sort by the id value.

•

Sort by the initial_value 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.

•

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.


Was this section helpful?