curl --request GET \
--url https://www.withvayu.org/customers/{customerId} \
--header 'Authorization: Bearer <token>'{
"customer": {
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aliases": [],
"contacts": [
{
"name": "<string>",
"email": "[email protected]",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"taxId": "<string>",
"externalId": "<string>",
"customerErpId": "<string>",
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"salesForceAccountId": "<string>",
"dueDays": "END_OF_MONTH",
"customFields": [
{
"vayuCustomFieldName": "<string>",
"valueType": "String",
"integrationSource": "NetSuite",
"integrationEntityType": "<string>",
"fieldPath": "<string>",
"value": "<unknown>"
}
]
}
}Get a Customer by id.
curl --request GET \
--url https://www.withvayu.org/customers/{customerId} \
--header 'Authorization: Bearer <token>'{
"customer": {
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aliases": [],
"contacts": [
{
"name": "<string>",
"email": "[email protected]",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"taxId": "<string>",
"externalId": "<string>",
"customerErpId": "<string>",
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"salesForceAccountId": "<string>",
"dueDays": "END_OF_MONTH",
"customFields": [
{
"vayuCustomFieldName": "<string>",
"valueType": "String",
"integrationSource": "NetSuite",
"integrationEntityType": "<string>",
"fieldPath": "<string>",
"value": "<unknown>"
}
]
}
}