beel_patch_product
Update specific product fields without affecting others. Send null to clear a field, omit to keep existing values—ideal for targeted product edits.
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.
A field sent as null is cleared, which is different from omitting it (see
PatchProductRequest). This is the only update verb of the canonical form: the total
replacement PUT /v1/products/{product_id}, which reset the omitted fields to their
creation defaults, is not carried over.
Endpoint: PATCH /v1/companies/{company_id}/products/{product_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. | |
| product_id | Yes | Product unique UUID |