curl --request GET \
--url https://connect.withvayu.com/customers/name/{name} \
--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": "jsmith@example.com",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"legalName": "<string>",
"taxId": "<string>",
"cloudProviderSettings": {
"cloudProvider": "AWS",
"cloudProviderMarketplaceId": "<string>",
"marketplaceAccountId": "<string>"
},
"externalId": "<string>",
"customerErpId": "<string>",
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"salesForceAccountId": "<string>",
"dueDays": "END_OF_MONTH",
"currency": "USD",
"customFields": [
{
"vayuCustomFieldName": "<string>",
"valueType": "String",
"integrationSource": "NetSuite",
"integrationEntityType": "<string>",
"fieldPath": "<string>",
"value": "<unknown>"
}
],
"subsidiary": "<string>"
}
}Use this endpoint to get a specific customer using its name.
curl --request GET \
--url https://connect.withvayu.com/customers/name/{name} \
--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": "jsmith@example.com",
"title": "<string>",
"phone": "<string>",
"receiveInvoiceEmail": true
}
],
"source": "Stripe",
"legalName": "<string>",
"taxId": "<string>",
"cloudProviderSettings": {
"cloudProvider": "AWS",
"cloudProviderMarketplaceId": "<string>",
"marketplaceAccountId": "<string>"
},
"externalId": "<string>",
"customerErpId": "<string>",
"address": {
"country": "<string>",
"city": "<string>",
"addressText": "<string>",
"state": "<string>",
"postalCode": "<string>"
},
"salesForceAccountId": "<string>",
"dueDays": "END_OF_MONTH",
"currency": "USD",
"customFields": [
{
"vayuCustomFieldName": "<string>",
"valueType": "String",
"integrationSource": "NetSuite",
"integrationEntityType": "<string>",
"fieldPath": "<string>",
"value": "<unknown>"
}
],
"subsidiary": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
response contains the customer matching the provided name
The customer matching the provided name
Show child attributes