Sales Tax API
Core Concepts
Corporations
Calculate
Transactions
- Tax Transactions
- POSTCreate a transaction
- GETGet transaction
- GETList transactions
- DELDelete transaction
- Refund Transactions
- Bulk Transaction Import
Nexus
Registrations
Products
Customers
Exemption Certificates
Customers
Get customer
Get detailed information about a specific customer, including exemption certificates.
GET
/
customers
/
{id}
curl --request GET \
--url https://base_url/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "b6d009b0-d174-463f-b030-94643c28e209",
"corporation_id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "John Doe",
"email": "jsmith@example.com",
"shipping_address": {
"address_line_1": "1776 Main St",
"address_line_2": "Apt. #123",
"address_line_3": "<string>",
"postal_code": "90401",
"city": "Santa Monica",
"state": "CA",
"country": "US"
},
"external_id": "<string>",
"exemption_metadata": {
"total_certificates": 123,
"certificate_types": [
"<string>"
],
"total_exempted_states": 123,
"expired_exemptions_count": 123,
"inactive_exemptions_count": 123,
"exempted_states": [
"<string>"
],
"active_exemptions_count": 123,
"non_expired_exemptions_count": 123
}
},
"message": "Successfully fetched customer."
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique identifier of the customer to fetch.
Response
200
application/json
Detailed information about a specific customer
The response is of type object
.
curl --request GET \
--url https://base_url/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "b6d009b0-d174-463f-b030-94643c28e209",
"corporation_id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "John Doe",
"email": "jsmith@example.com",
"shipping_address": {
"address_line_1": "1776 Main St",
"address_line_2": "Apt. #123",
"address_line_3": "<string>",
"postal_code": "90401",
"city": "Santa Monica",
"state": "CA",
"country": "US"
},
"external_id": "<string>",
"exemption_metadata": {
"total_certificates": 123,
"certificate_types": [
"<string>"
],
"total_exempted_states": 123,
"expired_exemptions_count": 123,
"inactive_exemptions_count": 123,
"exempted_states": [
"<string>"
],
"active_exemptions_count": 123,
"non_expired_exemptions_count": 123
}
},
"message": "Successfully fetched customer."
}