curl --request GET \
--url https://connect.withvayu.com/customers/{customerId} \
--header 'Authorization: Bearer <token>'{
"customer": {
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aliases": [],
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"contacts": [
{
"name": "<string>",
"email": "[email protected]",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"externalId": "<string>",
"customerErpId": "<string>"
}
}Get a Customer by id.
curl --request GET \
--url https://connect.withvayu.com/customers/{customerId} \
--header 'Authorization: Bearer <token>'{
"customer": {
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aliases": [],
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"contacts": [
{
"name": "<string>",
"email": "[email protected]",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"externalId": "<string>",
"customerErpId": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
response contains the customer matching the provided externalId
Show child attributes
The name of the customer
The aliases of the customer used to match events to the customer.
The source of the customer
Stripe, Ingestion, Api, Salesforce, HubSpot The external ID of the customer
The ID of the customer in the ERP system