Update Material Order
Update a material order. Supports partial updates.
lineItemsandsectionsreplace all lines. Send a line’sidto keep it; a kept line keeps its scope link even ifscopeLineItemIdis omitted.vendorIdcan only change while the material order is aDRAFT. Changing the vendor reprices the lines.statusacceptsDRAFT,SENT,SCHEDULED,PARTIALLY_FULFILLED,FULFILLEDandCANCELED, following the allowed transitions.PENDING_SUPPLIERis read-only: it is returned as-is when a connected supplier has queued the order, and can’t be set.- Set
isActivetofalseto archive the material order, ortrueto unarchive it. - Delivery and supplier details are read-only.
Orders accepted by a supplier are locked. Once a connected supplier has accepted a material order, it can’t be edited, and the request returns 400 with the reason.
Authentication
Path parameters
Request
Change the vendor. Only while the material order is a DRAFT.
Internal-only memo, never shown to customers or on the PDF or portal. Rich text (HTML, like the app’s editor stores). Send null or "" to clear it.
Due date (ISO 8601 datetime string). Send null to clear it.
Material order status. PENDING_SUPPLIER is read-only and can’t be set.
Set to false to archive the material order, or true to unarchive it. Applied independently of any other fields present in the same request.
Replaces all lines. May be combined with sections (ungrouped items).
Replaces all lines, grouped into named sections. May be combined with lineItems (ungrouped items).
Response
Material order status. PENDING_SUPPLIER is set only by a connected supplier (the order is queued and waiting for the supplier’s order number). It is returned as-is and can’t be set through the API.
Internal-only memo, never shown to customers or on the PDF or portal. Rich text (HTML, like the app’s editor stores). On update, send null or "" to clear it; responses return null when empty.
How the material is delivered. Read-only: set in the app when the vendor is a connected supplier. Each supplier uses its own subset of these values.
- ABC Supply:
OUR_TRUCK_ROOF,OUR_TRUCK_GROUND,OUR_TRUCK_WINDOW,COMMON_CARRIER,CUSTOMER_PICKUP,EXPRESS_PICKUP,THIRD_PARTY_CARRIER - SRS Distribution:
GROUND_DROP,ROOF_LOAD,ROOF_EDGE,WILL_CALL(a branch pickup, which carries apickupTimeinstead of a delivery window)
Named delivery window. The branch sets the actual times. Pickups carry a pickupTime instead.
Pickup time (HH:mm, 24-hour) for an SRS WILL_CALL order
Requested delivery date (YYYY-MM-DD)
Delivery instructions (up to 255 characters)
Team member the supplier should contact. null means the client.
Team member who receives the delivery. null means the point of contact.
