Get customer
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique customer ID
Query Parameters
Fields to expand related entities. For example, ["organization"].
Maximum number of items to retrieve. Default is 25.
10
Number of items to skip before starting to collect the result set.
0
Field to order the results by, followed by ":asc" or ":desc". For example, "createdAt:desc".
"createdAt:desc"
Search term to filter the results. Supports multiple terms with "~" for partial matches.
Response
The id of the customer.
"cus_1234567890"
The primary email address of the customer.
The first name of the customer.
"John"
The last name of the customer.
"Doe"
The phone number of the customer.
"+1 555 555 5555"
Wether the customer is in live mode or test mode.
true
Wether the customer is blocked or not.
true
The id of the organization.
"org_1234567890"
The id of the shippingAddress.
"adr_1234567890"
The id of the shippingAddress.
"adr_1234567890"
Additional metadata for the customer.
{
"my_system_id": "1JYLo8KerLxWZaQtys6ZQ1xS"
}
"2021-07-22T00:00:00.000Z"
The id of the user who created the customer.
"usr_1234567890"
"2021-07-22T00:00:00.000Z"
"2021-07-22T00:00:00.000Z"
The id of the user who blocked the customer.
"usr_1234567890"
The id of the user who last updated the customer.
"usr_1234567890"
"2021-07-22T00:00:00.000Z"