curl --request GET \
--url https://dev.seqhq.io/api/customers/by-alias/{alias} \
--header 'Authorization: <authorization>'{
"id": "e309e948-088e-4d77-b654-cd85498f1555",
"createdAt": "2022-06-28T16:47:00Z",
"legalName": "John Doe",
"contactName": "John Doe",
"address": {
"line1": "Flat 1",
"line2": "123 Fake Street",
"town": "New York",
"state": "NY",
"postcode": "AB1 2EF",
"country": "US"
},
"email": "john@example.com",
"telephone": "02010001000",
"url": "https://example.com/",
"label": "Example customer",
"integrationIds": [
{
"service": "Xero",
"id": "ID",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
},
{
"service": "Stripe",
"id": "cus_OCtCxqQDgu1uX9",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
}
],
"archivedAt": "2022-06-28T16:47:00Z",
"billingEmails": [
"exampleCorpInvoices@example.com"
],
"taxStatus": "TAXED"
}Retrieve the details of one of your customers using one of their aliases.
curl --request GET \
--url https://dev.seqhq.io/api/customers/by-alias/{alias} \
--header 'Authorization: <authorization>'{
"id": "e309e948-088e-4d77-b654-cd85498f1555",
"createdAt": "2022-06-28T16:47:00Z",
"legalName": "John Doe",
"contactName": "John Doe",
"address": {
"line1": "Flat 1",
"line2": "123 Fake Street",
"town": "New York",
"state": "NY",
"postcode": "AB1 2EF",
"country": "US"
},
"email": "john@example.com",
"telephone": "02010001000",
"url": "https://example.com/",
"label": "Example customer",
"integrationIds": [
{
"service": "Xero",
"id": "ID",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
},
{
"service": "Stripe",
"id": "cus_OCtCxqQDgu1uX9",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
}
],
"archivedAt": "2022-06-28T16:47:00Z",
"billingEmails": [
"exampleCorpInvoices@example.com"
],
"taxStatus": "TAXED"
}Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
2024-07-30 Customer alias
OK
Unique ID
"e309e948-088e-4d77-b654-cd85498f1555"
Created at
"2022-06-28T16:47:00Z"
Legal name
"John Doe"
Address
Show child attributes
{
"line1": "7500 Bluewater Rd NW",
"town": "Albuquerque",
"state": "NY",
"postcode": "87121",
"country": "US"
}
Main contact email address
"john@example.com"
External services which are linked to this customer
Show child attributes
[
{
"service": "Xero",
"id": "ID",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
},
{
"service": "Stripe",
"id": "cus_OCtCxqQDgu1uX9",
"lastSynced": "2022-06-28T16:47:00Z",
"isPending": false
}
]
Billing email addresses
["exampleCorpInvoices@example.com"]
Tax status applicable to customer. Can be one of TAXED, TAX_EXEMPT or REVERSE_CHARGED. The default is TAXED.
TAXED, TAX_EXEMPT, REVERSE_CHARGED "TAXED"
Contact Name
"John Doe"
Telephone
"02010001000"
URL
"https://example.com/"
Label
"Example customer"
Date and time the Customer was archived
"2022-06-28T16:47:00Z"