/v1/admin/customersThe customers
Needs the customers.read permission.
Response 200 · object
Done.
customersarray of Customer, requiredcustomer_idinteger (int64)titlestringfirst_namestringlast_namestringemailstring (email)email_confirmed_atstringWhen the customer first signed in by a link sent to the email; cleared when the email changes. Ignored when sent.
phonestringThe latest number given.
phonesarray of stringEvery number the customer has given, oldest first, each once however spaced. Ignored when sent.
{
"customers": [
{
"customer_id": 0,
"title": "string",
"first_name": "string",
"last_name": "string",
"email": "email",
"email_confirmed_at": "string",
"phone": "string",
"phones": [
"string"
]
}
]
}Response 401 · Error
No tenant key, or no valid session.
errorobject, requiredcodestring, requiredA short machine-readable name, such as not_found.
messagestring, requiredWhat went wrong, for people.
request_idstring, requiredMatches the X-Request-ID response header.
{
"error": {
"code": "string",
"message": "string"
},
"request_id": "string"
}Response 403 · Error
The session may not do this.
Fields as in The customers
Response 500 · Error
Something failed on our side.
Fields as in The customers