Marks a shipped transfer delivered (the app's "Mark as Delivered"): its stock moves to the customer.
Requires ManageSalesOrders and an Idempotency-Key header. Body optional: { "transferId": 904 }; omitted = the order's single in-transit transfer. The transfer must be in transit (at its last stop, if it has several) and have shipping info (/ship). Same code path as the app: the transfer becomes Completed, each remaining line's quantityDelivered is recorded, its stock units move to the delivery location and are released — and consumed (removed from inventory) when that location's type consumes inventory or is a job site, as customer delivery locations usually are. Lines marked Failed in transit are not delivered: their units stay at their current location, are released from the transfer, and the line ends Returned with no quantityDelivered and a "[RETURNED] …" note on the item; lines already Returned are skipped. The history records "Transfer completed — items delivered (via API key '…')" and the order's status is recalculated: Delivered when every transfer is complete, or straight to Complete when its invoices already cover the order and are paid.
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/sales-orders/{id}/deliver
- Auth: HTTP bearer
Path parameters
Sales-order id. Example: 318.
Request body
Response
Delivered; the recalculated order status.
Changes
No recorded changes to this operation across all 1 revision of this API.