Orders
List orders
List your orders with filters and cursor pagination.
GET
List orders
Required scope:
orders:read. The request is safe to retry.
The list returns order summaries from newest to oldest. Filter by status or by an exact customer_reference. A customer reference is not unique, so the filter can return several orders.
When has_more is true, send next_cursor as cursor in the next request and keep the same filters. A summary does not contain the drivers, the available actions, or the revision. Read Get an order for them.
Read Create and find orders for an example.Headers
Query Parameters
Return only orders with this status. Overall order state derived from all vehicles. accepted means that no driver has a booking on the order and no vehicle is in transit; a truck carrier booking does not change this status. driver_assigned means that at least one driver booked part of the order before any vehicle was collected; in_transit means that at least one vehicle was collected and the order is not complete; delivered means that every vehicle is delivered; cancelled means that you or Bahn cancelled the order.
Available options:
accepted, driver_assigned, in_transit, delivered, cancelled