Object Index / Definition

You are viewing an old version of the API
CustomerSort

Indicates the field to use for sorting customer profiles.

Properties

Name Description
field
string

Indicates the information used to sort the results. For example, by creation date.

Default: DEFAULT. See CustomerSortField for possible values

order
string

Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings.

Default: ASC. See SortOrder for possible values

Share Feedback

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