beel_delete_product
Deletes a product from a company's catalog, removing it from lists and returning 404 on reads; existing invoice lines stay unchanged.
Instructions
Deletes a product from the catalog of this company. It no longer appears in the list and reading it answers 404. Invoices already created keep their lines unchanged: a line copies its data and does not point to the product.
Endpoint: DELETE /v1/companies/{company_id}/products/{product_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |