Customers
Create a customer
This API let’s you to create customers and corresponding accounts.
post/customers
Request body
Example request
{
"id": "01BX5ZZKBKACTAV9WEVGEMMVRZ",
"name": "ACME Enterprise",
"primaryEmail": "admin@example.com",
"account": {
"id": "ACC00001",
"name": "Primary Account",
"primaryEmail": "admin@example.com",
"netTermDays": 45
}
}Response
Response for Create customer request
Example response
{
"account": {
"invoiceCurrency": "USD",
"primaryEmail": "admin@example.com",
"status": "ACTIVE"
}
}