• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”
Enum
You are viewing an old version of the API

CustomerSortField

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

Values

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.

CREATED_AT

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

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?