Customers

Read a customer

One customer by its id.

Authorization

bearer customers:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: customers:read

Path Parameters

customerId*string
Match^[A-Za-z0-9_-]{1,64}$
Length1 <= length <= 64

Response Body

application/json

application/problem+json

GET
/v1/customers/{customerId}
curl -X GET "https://example.com/v1/customers/string"
{  "id": "string",  "email": "user@example.com",  "name": "string",  "companyName": "string",  "taxNumber": "string",  "taxNumberType": "string",  "address": {    "line1": "string",    "line2": "string",    "city": "string",    "state": "string",    "postalCode": "string",    "country": "string"  },  "createdAt": "2019-08-24T14:15:22Z",  "username": null,  "reference": null,  "type": null,  "firstName": null,  "lastName": null,  "phoneDialCode": null,  "phoneNumber": null}