beel_patch_customer
Partially update a customer's details, changing only specified fields while preserving others. Send null to clear fields, ideal for making targeted edits without full replacement.
Instructions
Updates only the fields present in the body, leaving every other field of the customer as it
is. A field sent as null is cleared, which is different from omitting it (see
PatchCustomerRequest).
This is the canonical way to edit a customer. There is no PUT of full replacement under
the company, which would clear the fields you omit.
Endpoint: PATCH /v1/companies/{company_id}/customers/{customer_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| company_id | Yes | NIF (company) the operation acts on. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A NIF you do not reach answers `403`, and so does a NIF that does not exist, so the existence of a NIF in another account is never disclosed. | |
| customer_id | Yes | Customer ID |