beel_patch_product
Partially update a product by changing only the fields you send, leaving omitted ones—such as tax rates—untouched via a PATCH request.
Instructions
Updates only the fields present in the body, leaving every other field of the product as it
is — in particular main_tax, irpf_rate and equivalence_surcharge_rate.
Null vs omitted: a field sent as
nullis cleared, which is different from omitting it (seePatchProductRequest).Only update verb: the total replacement
PUT /v1/products/{product_id}, which reset the omitted fields to their creation defaults, is not carried over to the canonical form.
Endpoint: PATCH /v1/companies/{company_id}/products/{product_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. 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 company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| product_id | Yes | Product unique UUID |