post
https://roofrabbit.io/jobs//material_orders
Creates a material order on a job, with its line items in the same request. Wrap the fields in a material_order object and pass items as material_order_items_attributes.
- Each item needs a
product_name, aquantitygreater than zero and aunit_cost.unitis the unit of measure (for examplebundleorsquare). Passproduct_idto link an item to a product in your catalog. supplier_branch_idpicks the distributor branch, and the order's supplier is set to match that branch. An unknown branch ID returns404.delivery_methodisdeliveryorwill_call.order_numberis assigned automatically,statusdefaults topending, andtotal_costis calculated from the items.- Creating an order can tick off a matching item on the job's stage checklist. If the company has connected QuickBooks, the order is pushed there as a bill once it reaches a status the company's QuickBooks settings sync.
- The token's role must have the Work sales leads or Work production jobs permission, and the token needs the
writescope.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…