get https://api.mercury.com/api/v1/ar/customers
Gets a list of all customers for this organization.
Customers are soft deleted so that historical data on old invoices for deleted customers can still be retrieved. The
deletedAt
field in the response indicates whether a customer has been deleted.
Response Schema
{
"customers": [
{
"id": string,
"email": string,
"name": string,
"address": {
"name": string,
"address1": string,
"address2": string | none,
"city": string,
"region": ISO3166Alpha2, // US state, territory, etc.
"postalCode": string,
"country": ISO3166Alpha2
} | none, // Address is only present if an address was included in the request data
"deletedAt": date-time | none,
}
]
}