Login | Register

Function: Update Booking

At present you may only amend the customer and passenger details on a booking.  Any change to the journey is likely to require a price change and is not available in the initial release

<?xml version='1.0' encoding='utf-8'?>
<JobFile>
  <appID>23423413</appID>
  <appSecret>abe1f4dc775a5a055afcd2abfe137b67f615f0bf</appSecret>
  <quoteId>292405</quoteId> 
  <customer>
    <email>customer@theirdomain.com</email>
    <name>Customer Name</name>
    <phoneNumber>03841XXXX</phoneNumber>
    <mobileNumber>080102XXXX</mobileNumber>
    <company>Customer Company</company>
    <extRef>V001</extRef>
  </customer>
  <passenger>
    <email>passenger@theirdomain.com</email>
    <name>Pax Name</name>
    <phoneNumber>03841XXXX</phoneNumber>
  </passenger>
</JobFile>

Data Returned - Update Booking

All of these tags have been previously explained in the function Insert Booking.  The API will then return the following notice on success:

Callback : {
    "code":200,
    "message":
    "Update Finish."
}