Home > @infiniteobjects/shopify-data-manager > AdminTypes > CodeDiscountSortKeys
The set of valid sort keys for the CodeDiscount query.
Signature:
export declare enum CodeDiscountSortKeys
Member | Value | Description |
---|---|---|
CreatedAt | "CREATED_AT" |
Sort by the created_at value. |
EndsAt | "ENDS_AT" |
Sort by the ends_at value. |
Id | "ID" |
Sort by the id 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. |
StartsAt | "STARTS_AT" |
Sort by the starts_at value. |
Title | "TITLE" |
Sort by the title value. |
UpdatedAt | "UPDATED_AT" |
Sort by the updated_at value. |