Products
Update a product partially
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, which PUT resets.
- Null vs omitted: a field sent as null is cleared, which is different from omitting it (see PatchProductRequest). The result goes through the same validation as PUT.
- Deprecated: use PATCH /v1/companies/{company_id}/products/{product_id}, which behaves identically.
Retires on 9 December 2026. See the migration guide for what moved where and what changes when you switch.
patch/v1/products/{product_id}
Request
- Base URL: https://app.beel.es/api
- URL: https://app.beel.es/api/v1/products/{product_id}
- Auth: HTTP bearer
Request body
Example request
{
"code": "SERV-001",
"name": "Technical consulting",
"description": "Specialized technical consulting services",
"category": "CONSULTING",
"default_price": 85.5,
"unit": "hours",
"main_tax": {
"type": "IVA",
"percentage": 21,
"regime_key": "01"
},
"equivalence_surcharge_rate": 5.2,
"irpf_rate": 15,
"active": true
}Response
Product updated successfully
Example response
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"code": "SERV-001",
"name": "Technical consulting",
"description": "Specialized technical consulting services in web development",
"category": "CONSULTING",
"default_price": 85.5,
"unit": "hours",
"main_tax": {
"type": "IVA",
"percentage": 21,
"regime_key": "01"
},
"equivalence_surcharge_rate": 5.2,
"irpf_rate": 15,
"active": true,
"created_at": "2025-01-18T10:30:00Z",
"updated_at": "2025-01-18T15:45:30Z"
},
"meta": {
"timestamp": "2025-01-15T10:30:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.