Customers
Update customer
Update a customer's details.
POST/v1/customers/{customer_id}
Parameters
| Parameter | Description |
|---|---|
| customer_idstring · pathrequired | No description in the spec. |
| country_codestring | nulloptional | At most 2 characters. |
| emailstring (email) | nulloptional | Must be a valid email address. |
| metadataobject | nulloptional | At most 50 keys. |
| namestring | nulloptional | At most 255 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}
- Purge customer POST /v1/customers/{customer_id}/purge
- Set customer VAT number POST /v1/customers/{customer_id}/vat_number
BillKit