Dispatch Shipment
POST/suppliers/shipments/:shipment_id/dispatch
Marks a draft shipment as handed to the carrier. Its lines then count as shipped on their PO lines, and the POs' fulfilment status is updated.
Returns 422 if the shipment has no lines, a PO is no longer confirmed or invoiced, a PO line was removed, or the quantities would exceed the ordered quantity plus the over-delivery tolerance. Needs the shipments-dispatch-as-supplier permission.
Request
Responses
- 200
- 403
- 404
- 422
Success
The API user lacks the permission, the shipment belongs to another supplier, or the shipment is not in a status that allows the action.
No shipment with this ID for your supplier account.
Validation failed. errors is keyed by the field path, e.g. lines.0.quantity_shipped.