<- Object

Object

All versions ->

CustomerSort

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

Link to section

Properties

Link to section

field

string

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

Default: DEFAULT.

Link to section

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.