Booking

Booking Creation

Request

  • oid - The external id, you can use for any purposes

Example

{
   "place":"WAW",
   "parking":"b3aec2fd-32c4-4cd3-8dc9-0d08f741998b",
   "arrival_at":"2023-01-21T12:00:00",
   "departure_at":"2023-01-30T12:00:00",
   "payform":"ONLINE",
   "discount":null,
   "client_title":"Client Name",
   "client_email":"email@address.com",
   "client_phone":"+48123123132",
   "client_consent_rule":true,
   "client_consent_marketing":true,
   "person_adult":1,
   "person_child":0,
   "person_disabled":0,
   "depart_flight":null,
   "depart_from":null,
   "return_flight":null,
   "return_from":null,
   "invoice":false,
   "billing_title":null,
   "billing_code":null,
   "billing_type":null,
   "billing_city":null,
   "billing_address":null,
   "billing_zipcode":null,
   "billing_country":null,
   "comments":null,
   "addons":[
      {
         "type":"SHORTCANCEL",
         "uuid":"8c51707e-a0bb-487d-be50-e352ec8ac0da"
      }
   ],
   "services":[
      
   ],
   "vehicles":[
      {
         "plate":"XYZYT",
         "type":"CAR"
      }
   ]
}

Last updated