<- Enum

Enum

CustomerSortField

Specifies customer attributes as the sort key to customer profiles returned from a search.

Link to section

Values

Link to section

DEFAULT

Use the default sort key. By default, customers are sorted alphanumerically by concatenating their given_name and family_name. If neither name field is set, string comparison is performed using one of the remaining fields in the following order: company_name, email, phone_number.

Link to section

CREATED_AT

Use the creation date attribute (created_at) of customer profiles as the sort key.