cURL
curl --request GET \ --url https://api.togai.com/customers/{customer_id} \ --header 'Authorization: Bearer <token>'
{ "id": "01BX5ZZKBKACTAV9WEVGEMMVRZ", "togaiCustomerId": "customer.dsvvre314.dcs14", "name": "ACME Enterprise", "primaryEmail": "admin@example.com", "address": { "phoneNumber": "+919876543210", "line1": "2281 Broadway Street", "line2": "G-31", "postalCode": "29501", "city": "Florence", "state": "South Carolina", "country": "US" }, "billingAddress": "2281 Broadway Street, G-31, 29501, Florence, South Carolina, US", "status": "ACTIVE", "updatedAt": "2020-07-04T12:00:00.000Z", "createdAt": "2020-07-04T12:00:00.000Z" }
Get customer information using customer_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
50
"01BX5ZZKBKACTAV9WEVGEMMVRZ"
Response for Get customer requests
Structure of customer