On GET /v1/orders/{id}/tracking, status now tells you where the parcel is — the
latest courier event, in the courier's own wording — and the order status moved to a new
field, internal_status.
Why#
The order status stays accepted while the parcel travels and after it is delivered:
courier scans record the delivery (delivered_at on the order) but do not change the
order status. So a delivered parcel answered "status": "accepted" on its own tracking
endpoint.
What changes for you#
{
"order_id": 610,
"status": "Delivered",
"internal_status": "accepted",
"awb": { "number": "95328086", "tracking_url": "https://track.innoship.io/..." },
"events": [ ��� ]
}
status— the latest courier event'sstatus, ornulluntil the courier has reported anything. It is the courier's text, so to know the parcel arrived useevents[].is_final, not a match on the wording.internal_status— whatstatusused to be: the order status, same vocabulary asGET /v1/orders/{id}.GET /v1/ordersandGET /v1/orders/{id}are unchanged, including the?status=filter.
If you read status from this endpoint, read internal_status instead.
