BlaBlaCar Bus API · Schema

Booking

A confirmed booking for one or more passengers on a BlaBlaCar Bus trip

BookingBusesCoachEuropeMobilityTicketingTransportationTravel

Properties

Name Type Description
booking_id string Unique booking identifier
status string Current booking status
partner_reference string Partner's own reference identifier
total_price object Total booking price
View JSON Schema on GitHub

JSON Schema

blablacar-bus-api-booking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blablacar-bus-api/refs/heads/main/json-schema/blablacar-bus-api-booking-schema.json",
  "title": "Booking",
  "description": "A confirmed booking for one or more passengers on a BlaBlaCar Bus trip",
  "type": "object",
  "properties": {
    "booking_id": {
      "type": "string",
      "description": "Unique booking identifier",
      "example": "booking-500123"
    },
    "status": {
      "type": "string",
      "description": "Current booking status",
      "enum": [
        "confirmed",
        "pending",
        "cancelled"
      ],
      "example": "confirmed"
    },
    "partner_reference": {
      "type": "string",
      "description": "Partner's own reference identifier",
      "example": "booking-ref-abc123"
    },
    "total_price": {
      "type": "object",
      "description": "Total booking price",
      "properties": {
        "amount": {
          "type": "integer",
          "example": 1299
        },
        "currency": {
          "type": "string",
          "example": "EUR"
        }
      }
    }
  },
  "required": [
    "booking_id",
    "status"
  ]
}