Update a customer
PATCH/v1/customers/:id
Changes a customer. Send only the fields to change; the others keep their value. null clears a field. Requires the write:customers scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The customer after the change.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such record in your company.
db_error: the database refused or failed the request. message has the details.