• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

You are viewing an old version of the API
CustomerSort

Specifies how searched customers profiles are sorted, including the sort key and sort order.

Properties

Name Description
field
string

Use one or more customer attributes as the sort key to sort searched customer profiles. For example, use creation date (created_at) of customers or default attributes as the sort key.

Default: DEFAULT.

order
string

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

Default: ASC.

Share Feedback

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