patch
https://roofrabbit.io/jobs//material_orders/
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
idinmaterial_order_items_attributes. To remove one, include itsidwith_destroy: true. Items without anidare added.total_costis recalculated on every save. - Changing
supplier_branch_idre-prices catalog items using that branch's costs and item codes. An unknown branch ID returns404. - Setting
statustodeliveredcan tick off a matching item on the job's stage checklist. - Validation failures return
422with anerrorslist. - 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
writescope.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…