latestOpenAPI 3.1.02026-08-225410898.5 KB

5fb236d03a88

Line items

Update a line item

post/v1/line_items/{line_item_id}

Path parameters

line_item_idstring required

Request body

titlestring

Updated line item title. Omit to leave unchanged.

descriptionstring

Updated line item description. Omit to leave unchanged.

notesstring nullable

Line item notes. Set to null to clear. Omit to leave unchanged.

status'not_complete' | 'complete' | 'rejected'

Updated line item status. Omit to leave unchanged.

rejection_reason_option_idstring nullable

ID of the selected rejection reason option. May only be set when the resulting line item status is rejected. Will be cleared otherwise. Omit to leave unchanged.

rejection_reason_textstring nullable

Free text rejection reason for additional context. May only be set when the resulting line item status is rejected. Will be cleared otherwise. Omit to leave unchanged.

price_override_reasonstring nullable

Justification recorded alongside a cost_components change. Required when your organization mandates a reason for the changed cost component kinds. Only applies when cost_components is provided.

Response

OK