Create Customer
POST /customers
Description
Create a new customer record.
Authentication
API Key (X-API-Key)
Request
Headers
| Header | Value | Required |
|---|---|---|
| X-API-Key | {api_key} | Yes |
Request Body
{
"name": "Vusa Khoza",
"phone": "263773591219",
"email": "vusumuzi@qantra.co.zw",
"billingCurrencyString": "USD",
"companyIdString": "{{companyIdString}}"
}
Request Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Full name of the customer |
| phone | string | Yes | Phone number (e.g., 263773591219) |
| string | Yes | Email address | |
| billingCurrencyString | string | Yes | Billing currency code (e.g., USD) |
| companyIdString | string | Yes | UUID of the company this customer belongs to |