Home > @infiniteobjects/shopify-data-manager > AdminTypes > GiftCardSortKeys
The set of valid sort keys for the GiftCard query.
Signature:
export declare enum GiftCardSortKeys
| Member | Value | Description |
|---|---|---|
| AmountSpent | "AMOUNT_SPENT" |
Sort by the amount_spent value. |
| Balance | "BALANCE" |
Sort by the balance value. |
| Code | "CODE" |
Sort by the code value. |
| CreatedAt | "CREATED_AT" |
Sort by the created_at value. |
| CustomerName | "CUSTOMER_NAME" |
Sort by the customer_name value. |
| DisabledAt | "DISABLED_AT" |
Sort by the disabled_at value. |
| ExpiresOn | "EXPIRES_ON" |
Sort by the expires_on value. |
| Id | "ID" |
Sort by the id value. |
| InitialValue | "INITIAL_VALUE" |
Sort by the initial_value 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. |
| UpdatedAt | "UPDATED_AT" |
Sort by the updated_at value. |