Mutate checkin line items in a batch
Adds, updates, and removes the checkin's line items in a single atomic diff, then returns the full checkin with the updated line_items array. The top-level checkin PATCH is metadata-only; all line-item mutation flows through this endpoint.
Checkin line items are description-only notes, so this batch is narrower than the worksheet/quote one: the only field is description, and there is no reorder operation (the rows have no position). As with worksheets/quotes, update is applied as a remove+add internally, so an updated line receives a NEW id in the response. An id may appear in at most one of remove/update.
All arrays are optional; an empty body is a no-op.
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/checkins/{id}/line-items/batch
- Auth: HTTP bearer
Request body
Response
Batch applied. Returns the updated checkin (with line_items).
Example response
{
"id": "chk_4412"
}Changes
No recorded changes to this operation across all 1 revision of this API.