Update a worksheet
Partial update following the standard three-state PATCH semantics (omitted = unchanged, null = clear, value = set).
Only top-level editable fields are exposed here. Use POST /v1/worksheets/{id}/transitions to change status. Line-item mutation is out of scope for v1 — a dedicated sub-resource will land in a later pass.
Fields intentionally NOT patchable: id, company_id, created_by, seq_number, status, customer_id, vehicle_id, all totals, all *_at timestamps, line_items, documents.
Foreign-key references in the body (work_category_id, assigned_to) must resolve to resources owned by the authenticated user's company. Unreachable refs return 422 parameter_invalid pointing at the offending field.
Frozen worksheets — when the worksheet's linked invoice has been issued, the worksheet is frozen: its totals are now part of the invoice's accounting record and must not desync. PATCH returns 409 conflict. Cancel the invoice with a credit note before editing.
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/worksheets/{id}
- Auth: HTTP bearer
Request body
Response
Worksheet updated. Returns the full post-update entity.
Example response
{
"id": "a5d21e64-8f37-4b90-ae12-3c7d6b048f95"
}Changes
No recorded changes to this operation across all 1 revision of this API.