Customers
Set customer VAT number
Record a business customer's VAT registration number and check it.
POST/v1/customers/{customer_id}/vat_number
Parameters
| Parameter | Description |
|---|---|
| customer_idstring · pathrequired | No description in the spec. |
| country_codestring | nulloptional | At most 2 characters. |
| vat_numberstring | nulloptional | At most 64 characters. |
Returns
Returns a CustomerResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the customers:write scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other customers operations
- List customers GET /v1/customers
- Create a customer POST /v1/customers
- Delete customer DELETE /v1/customers/{customer_id}
- Retrieve a customer GET /v1/customers/{customer_id}
- Update customer POST /v1/customers/{customer_id}
- Purge customer POST /v1/customers/{customer_id}/purge
BillKit