Line items

Create a line item

post/v1/line_items

Request body

scope_idstring required
titlestring required
descriptionstring nullable
price_reference_keystring nullable
notesstring nullable
custom_fieldsobject nullable
status'not_complete' | 'complete' | 'rejected' nullable

Initial status. Defaults to not_complete. Send rejected to add and immediately reject the row.

room_idstring nullable

ID of a room at the scope's location, obtained from GET /v1/location/{location_id}/rooms. Omit to leave the row unroomed.

Response

OK

Changes

Changed in 2 of the 6 revisions of this API.4

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

      response-required-property-added

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property