Get an order
Read the current order, vehicle states, timing and available actions.
orders:read. The request is safe to retry.
The response is the complete current order. Use it to answer these questions:
- How far has the transport progressed? Read
statusanditems[].status. See Order status. - Has a driver booked it? Read
driver_assignments. See Driver assignment. - Can you change or cancel it? Read
allowed_actionsandcancellation_unavailable_reason. See Available actions. - When will pickup and delivery happen? Read the times in
pickupanddelivery. See Pickup and delivery times.
revision inside double quotation marks in If-Match when you change or cancel the order. The ETag response header contains the same value. A live ETA change does not change the revision.
End-customer billing progress (enabled platforms)
End-customer billing progress (enabled platforms)
invoice_recipient include accepted billing details and export progress in invoicing. It is null for normal account billing. invoicing.vat_treatment is finnish_vat for a Finnish recipient and eu_reverse_charge for a recipient in another EU country. See End-customer invoicing for status meanings and recovery.Headers
Path Parameters
Response
The current order.
Current state of one transport order.
Fields accepted by PATCH at this transport stage. Pickup and delivery entries use dotted paths. Contact entries permit partial name, phone, and email updates. Empty after primary delivery or cancellation. Other validation and credential scopes still apply.
customer_reference, customer_note, file_ids, items, service_options, pickup.address, pickup.type, pickup.available_from, pickup.requested_windows, delivery.address, delivery.type, delivery.requested_windows, pickup.release_code, pickup.contact, delivery.contact Actions that the current order state permits. The list does not check the scopes of your credential. Use this list to enable controls, and handle rejected writes because the order can change before the request completes.
Operation that the current order state permits. It does not check the scopes of your credential.
update, cancel, get_files, get_inspection_report, get_tracking Drivers with a booking on this order, one entry for each driver and vehicle. Drivers who finished their part stay in the list. A booking can cover only part of the route, and it does not start location tracking. Replace the displayed list each time you read the order.
Text that explains why you cannot cancel or change the order, or null when both actions are available. Show the text as written; its wording can change. An order that returns to accepted after a driver unbooks stays closed.