limitinteger
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
pageinteger
Which page of results to return. The lowest value is `1`, the highest value is `99`.
emailstring
Limit the customers to the ones that have this specific email address.
citystring
Limit the customers to the ones that are located in the specified city.
namestring
Filter customers by the name property.
segment_idstring
Filter customers by the segment ID.
Warning: Passing additional query parameter filters that are in conflict with the segment filters may return unexpected results.
created_at[before]string (date-time)
Filter customers by date customer was created.
created_at[after]string (date-time)
Filter customers by date customer was created.
updated_at[before]string (date-time)
Filter customers by date customer was updated last time.
updated_at[after]string (date-time)
Filter customers by date customer was updated last time.
orderstring
This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash `-` preceding a sorting option means sorting in a descending order.
One ofcreated_at-created_atupdated_at-updated_atsource_id-source_id
starting_afterstring (date-time)
A cursor for pagination. This is a date-time value that defines your place in the list based on `created_at` property from the customer object. For instance, if you make a list request and receive 100 objects, ending with an object created at `2020-05-24T13:43:09.024Z`, your subsequent call can include `starting_after=2020-05-24T13:43:09.024Z` in order to fetch the next page of the list.
| **Option** | **Format** | **Sorting** |
|:---|:---|:---|
| Return customers **before** a specific creation date | - set `starting_after` parameter to the breakpoint date | Sorting order is **descending**; the most recent dates first and least recent dates last. |
| Return customers **after** a specific create or update date | - include the `order` parameter set to `created_at` or `updated_at`<br />- set `starting_after` to the breakpoint date | Sorting order is **ascending**; the least recent dates first and the most recent dates last. |