Receive an order event
Bahn sends this request to the configured customer endpoint.
The receiver must deduplicate requests by the id field.
Authorizations
OAuth 2.0 client credentials.
Headers
Delivery identifier included in the signature input.
Unix timestamp in seconds included in the signature input.
One or more Standard Webhooks v1 signatures for the raw request body.
Body
- Order resource changed
- Order created
- Order status changed
- Vehicle status changed
- Order cancelled
- ETA changed
- Tracking state changed
- Pickup progress changed
Any signed Bahn order webhook event.
CloudEvents specification version.
Stable event ID. Use it to deduplicate retries and replays.
Bahn API origin for the event environment. Resolve resource paths against this origin.
Order subject in the form orders/{order_id}.
Time when the event occurred.
Media type of the event data.
Stable event type that identifies the changed resource or order area.
com.bahn.order.updated.v1, com.bahn.order.pickup_readiness.changed.v1, com.bahn.order.schedule.changed.v1, com.bahn.order.files.updated.v1, com.bahn.order.inspection_report.available.v1 Order identity and URLs for reading current state.
Response
The receiver stored the event.