Update a material order

Updates a material order's fields or items. Send only the fields you want to change, inside a material_order object; the accepted fields are the same as when creating one, plus actual_delivery_date.

  • To change an item, include its id in material_order_items_attributes. To remove one, include its id with _destroy: true. Items without an id are added. total_cost is recalculated on every save.
  • Changing supplier_branch_id re-prices catalog items using that branch's costs and item codes. An unknown branch ID returns 404.
  • Setting status to delivered can tick off a matching item on the job's stage checklist.
  • Validation failures return 422 with an errors list.
  • The token's role must be able to view all company records, or the token's user must have placed the order. The token needs the write scope.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
Body Params
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json