Mediloop
DocsAPIsProcurement APIProcurement Deliveries
Procurement API

Procurement Deliveries

Follow fulfilment and delivery information associated with procurement orders.

Shipment status

Real-time fulfilment

Partial deliveries

Supported

Exceptions

Delay & shortage states

Traceability

Order-linked history

Delivery model

ResourcePurposeKey relationship
deliveryShipment / delivery aggregatepurchase_order_id
packagePhysical parcel or shipment unitdelivery_id
delivery_itemFulfilled PO line quantityorder_item_id
proofDelivery proof / referencedelivery_id

Shipment status

preparing
ready
dispatched
in_transit
delivered

Partial deliveries

A purchase order may be fulfilled by several deliveries. Track fulfilled quantities per order line rather than assuming one order equals one shipment.

Exceptions

StateMeaningRecommended action
delayedExpected delivery movedSurface updated ETA
shortageQuantity unavailableReconcile outstanding line quantity
failedDelivery attempt failedAwait supplier/carrier resolution
damagedGoods damagedCreate return / dispute flow

Proof & references

FieldExample
tracking_numberLU123456789
carrierDHL
supplier_delivery_refDEL-2026-8842
proof_urlSigned document / receipt reference
delivered_at2026-08-18T14:32:00Z

Example request

cURLJavaScriptPython
curl "https://api.mediloop.com/v1/procurement/deliveries?purchase_order_id=po_42" \
  -H "Authorization: Bearer $MEDILOOP_API_KEY" \
  -H "X-Tenant-Id: $TENANT_ID"
List deliveries for an order
Response200 OK
{
  "data": [{ "id":"del_91", "status":"in_transit", "tracking_number":"LU123456789", "eta":"2026-08-20" }]
}