Retrieve a list of paginated customers.
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
The offset - e.g 100 for listing customers starting with the 100th customer. Offset will always take precedence over page.
The page you wish to retrieve customers. You can only paginate by page if no offset is given.
The number of customers to retrieve per page. The maximum (and default) is 100 per page.
A list of related resources you wish to include in the response. Values can be a url encoded array, or comma separated string.
The dataCaptureResponses return both the responses to the marketing preferences and the responses to the general data capture questions in the checkout. You can filter these by referring to the questionGroup field in each of the data capture responses (marketing for marketing preference responses, and shop for the customer data capture in the checkout).
The answer value returned in the data capture responses can be a string (generally from responses to free text, checkboxes or select fields), or an array of option ID's selected (generally from, multicheckbox fields and radio buttons).
companies, dataCaptureResponses, cities, currencies, wallets, authenticationProviders A list of attributes that you wish to be returned in the payload. When empty or omitted, all fields will be included by default. Use dot-notation for both top-level resources and child resources, i.e. customers.name,dataCaptureResponses.answer. Can be used in conjunction with except providing both parameters don't reference the same resource.
A list of attributes that you wish to exclude from the payload. When empty or omitted, all fields will be included by default. Use dot-notation for both top-level resources and child resources, i.e. customers.name,dataCaptureResponses.answer. Can be used in conjunction with only providing both parameters don't reference the same resource.
Date/Time for retrieving customers who's associated database records (customer, user and data capture) have been updated after the given lastUpdated time. Accepted formats:
YYYY-MM-DD HH:MM:SS e.g. 2021-01-01 00:00:00YYYY-MM-DDTHH:mm:ss.SSSSSSZ e.g. 2021-01-01T00:00:00.000000ZUTC.Controls records returned depending on their deletedAt status. This is a global flag, so will apply to all resources, including relationships such as resources returned under the included attribute.
true to include deleted recordsfalse to exclude deleted records (or leave blank)true, false