In production an order's status goes pending → accepted and stays accepted until
the end: the courier's progress is tracking, and a delivery fills in delivered_at.
The sandbox now does exactly that, and delivered_at is on every order, list included.
Sandbox: POST /v1/sandbox/orders/{id}/advance#
acceptedis still the order's own step.picked_up,in_deliveryanddeliveredare now courier steps: they book the sandbox courier if nobody has, add courier events (Picked-Up,Out for Delivery,Delivered) to the AWB's tracking, and leave the orderaccepted. Before, they changed the order status topicked_up/in_delivery/delivered, which production never does.deliveredstampsdelivered_atand starts the return window, as a real delivery does.settledis unchanged.ship_to_courieris gone (see theconfirm-shippeddeprecation). A step behind the current one answersalready_past.- Jumping ahead still works in one call (
pending→deliveredaccepts on the way and writes the courier steps in between).
delivered_at on every order#
GET /v1/orders now carries delivered_at on each order, not only GET /v1/orders/{id}.
status stays accepted through delivery, so this is how a poll sees the parcel
arrived — a delivery also bumps updated_at, so ?updated_since= picks it up.
