Skip to main content

Confirm shipment of one network order

POST 

/network-orders/:networkRef/shipment-confirmation

The one write endpoint of this context (ADR 0014). Tells the network that the order has shipped (submitShipmentConfirmations), moves the order to CONFIRMED and publishes NetworkOrderShipmentConfirmed. Takes no request body.

This route is the operator fallback. The primary trigger is the ShipmentConfirmed event of outbound-shipping, which the service consumes and joins on localOrderId (ADR 0014, addendum of 2026-11-06); both go through the same use case. The label is requested from the network first, so a label failure leaves the order ACKNOWLEDGED.

Idempotent twice over: the request carries a required Idempotency-Key (fleet REST guideline section 2) whose first answer is stored and replayed with Idempotency-Replayed: true, and an order already CONFIRMED is still returned unchanged with 204, without re-submitting to the network or re-publishing the event, when a NEW key is used. The route is registered only when the shipment-confirmation use case is wired.

Request​

Responses​

Shipment confirmed (or the order was already CONFIRMED).

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when this answer is a replay of the stored answer for the same Idempotency-Key.