Line items

Update a line item

Changed on
post/v1/line_items/{line_item_id}

Request

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' | 'in_progress' | '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.

room_idstring

ID of a room at the line item's location. Omit to leave unchanged.

Response

OK

Changes

    • info

      added the new optional request property

    • info

      added the required property /// to the response with the status

    • warning

      added the new in_progress enum value to the / response property for the response status

    • info

      added the new in_progress enum value to the request property

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status