DiscountCodeSortKeys

The set of valid sort keys for the discountCodes query.

Show definition

# The set of valid sort keys for the discountCodes query.
enum DiscountCodeSortKeys {
  # Sort by the code value.
  CODE

# Sort by the created_at value. CREATED_AT

# Sort by the id value. ID

# During a search (i.e. when the query parameter has been specified on the connection) this sorts the # results by relevance to the search term(s). When no search query is specified, this sort key is not # deterministic and should not be used. RELEVANCE }

Values

CODE

Sort by the code value.

CREATED_AT

Sort by the created_at value.

ID

Sort by the id value.

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

Sign up for a Partner account to get started.

Sign up