Change an order
Changes supported order fields while allowed_actions contains update.
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]+$Body
Order fields to change. Omitted fields keep their current values.
Replacement customer reference, or null to clear it.
1 - 255Changes only the supplied pickup fields.
Changes only the supplied delivery fields.
Replaces the supplied fields for the primary item. A trade-in item remains unchanged.
1 elementReplacement transport and inspection service.
Adds uploaded files to the order. Existing order files remain attached.
Stable identifier for an uploaded or published order file.
^file_[a-z0-9]+$Replacement order-level note, or null to clear it.
5000Response
The updated 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.