Remove service item from record
DELETE/service-records/service-items/:serviceRecordServiceItemId
Remove a service item from a service record, ensuring the current company has access to the record. lines decides the item's charges on the job's quote: remove (default) deletes them, detach keeps them as stand-alone lines. Item, lines and quote totals change in one transaction.
Scope: record_items:write
Request
Responses
- 200
- 400
- 403
- 409
Service-record service item removed successfully
Invalid lines value
Forbidden (no access to this service record or item)
Removing the charges would lower an approved quote, or a charge is already paid