Cancel an order
Cancels an order while allowed_actions contains cancel.
Authorizations
OAuth 2.0 client credentials.
Headers
A unique key for this logical write.
8 - 255The current order revision inside double quotation marks.
A caller-supplied request identifier for support.
1 - 255Path Parameters
The order identifier. Stable Bahn order identifier used in every order resource path.
^ord_[a-z0-9]+$Response
The cancelled order.
Current state of one transport order.
Stable Bahn order ID. Store it after order creation.
^ord_[a-z0-9]+$Represented business for a platform order, or null for a direct customer order.
Reference supplied by your system, or null when none was supplied.
Current overall order state.
accepted, in_transit, delivered, cancelled Current seller readiness for pickup.
pending, preparing, confirmed Time when Bahn accepted the order.
Time when Bahn last updated the order.
Current pickup location, contact, requested timing, agreed timing, ETA, and actual time.
Current delivery location, contact, requested timing, agreed timing, ETA, and actual time.
Primary vehicle and optional trade-in vehicle, each with its own state and handover condition.
1 - 2 elementsTransport and inspection service selected for this order.
Price accepted when the order was created, or null when unavailable.
Order-level note supplied by the customer.
Actions currently available to this credential. Use this list to enable order controls.
Operation the current credential can perform on the current order state.
update, cancel, get_files, get_inspection_report, get_tracking An opaque order revision. Use this value in the If-Match header for an order change. A live ETA update does not change this value.