Menu

Partner API

Sell our private transfers and shared-bus tours in your own platform with live prices and instant confirmation.

Overview

The USA Caribbean Tours partner API lets travel agencies, OTAs and resellers sell our services in their own website or booking system, with live prices and instant confirmation. It has two independent products that share the same credentials, authentication and error format:

  • Transfers API: private airport and point-to-point transfers. Search, book, status and cancel.
  • Tours API: seats on our scheduled shared-bus tours. Products, availability, book, status and cancel.
Transfers base URL
https://usacaribbeantours.com/api/v1/transfers
Tours base URL
https://usacaribbeantours.com/api/v1/tours

The Transfers API follows the ETG Transfers API v1 format, so partners already connected to that standard can reuse their integration. The same endpoints are also served under /api/v1/etg.

Getting access

Credentials are issued by our team for each partner. To request access, contact us or apply to our partner program. You will receive a username and password together with your agreed currency and cancellation terms. The Transfers API and the Tours API are enabled separately: tell us which one you want to integrate.

Authentication

Every request uses HTTP Basic authentication with the username and password we issue you. Send it over HTTPS only and keep it on your server: never put it in a browser, mobile app or public repository.

Authorization: Basic base64(username:password)

Offers, orders and bookings are scoped to your account: you can only book, read or cancel what your own credentials created.

Test mode

Build and test your integration without creating real bookings. You get two sets of credentials: test and live. Both use the same endpoints, URLs and request formats, so going live requires no code change.

  • With test credentials, prices, availability and validation are real, exactly as in live.
  • Tours API: /book does not hold any seats and our operations team never sees the booking. Booking ids start with test_ and every response body carries "test": true. Test and live bookings are separate: test credentials cannot read or cancel live bookings, and the reverse.
  • Transfers API: orders are created normally but flagged as test on our side, so no vehicle is dispatched. Response bodies do not change.
  • Every response to a test request, success or error, includes the header X-Test-Mode: true. Live responses do not have it.
HTTP/1.1 200 OK
X-Test-Mode: true

Check the X-Test-Mode header (or test in Tours bodies) in your code so test data is never treated as real: do not charge customers, issue vouchers or send confirmations for it.

Going live

  1. Integrate and test with your test credentials.
  2. Tell us when you are ready: our team validates your test bookings and flows.
  3. We issue your live credentials. Replace the username and password in your configuration; nothing else changes.

Conventions

  • All endpoints are POST with a JSON body (Content-Type: application/json).
  • Errors always have the shape { "code": string, "error": string }; each product lists its codes in its own Errors section.
  • Each product has its own conventions for prices, dates and times, at the start of its part below.

Transfers API

Private airport and point-to-point transfers with fixed-price offers.

Conventions

  • Prices are decimal amounts in your account currency (default USD): { "amount": 95.0, "currency": "USD" }.
  • Times are local to the pickup. Send start_date_time as the local wall-clock time of the pickup; a trailing Z is accepted but read as local time, not UTC. We answer with the same time and the pickup's real UTC offset, for example 2026-12-15T14:30:00-04:00.
  • No availability is never an error: search returns { "offers": [] }.
  • Errors are listed in Errors.

POST /book

Confirms an offer. The price is always the one returned by search. The booking must ask for the same child seats the offer was searched with.

FieldTypeRequiredDescription
offer_idstringYesThe offer id from /search.
passengersintegerYesCannot exceed the offer's seats.
luggage_placesintegerYesNumber of suitcases.
flight_numberstringYesFlight number, or "No flight" for non-airport pickups.
shield_textstringYesName shown on the driver's sign (can be empty).
main_passengerobjectYesfirst_name, last_name, phone, email (required); middle_name (optional).
start_pointobjectYesPickup point, same format as search.
end_pointobjectYesDrop-off point.
commentstringNoNotes for the driver.
upsellsarrayNoExtras from the offer: [{ "id": "children_seat_1", "count": 1 }].
sport_luggage_placesintegerNoSports equipment items.
wheelchairs_placesintegerNoWheelchairs.
animals_placesintegerNoPets.
children_seat_0integerNoCradles, 0–13 kg (under 1 year). Must match the search.
children_seat_1integerNoChild seats, 9–18 kg (1–4 years). Must match the search.
children_seat_2integerNoChild seats, 15–25 kg (3–7 years). Must match the search.
children_seat_3integerNoChild seats, 22–36 kg (6–12 years). Must match the search.
{
  "offer_id": "cmh2x8k1p0001qz8l3f9a7b2c",
  "passengers": 4,
  "luggage_places": 4,
  "children_seat_1": 1,
  "flight_number": "AA1234",
  "shield_text": "SMITH FAMILY",
  "comment": "Arriving with a stroller",
  "main_passenger": {
    "first_name": "John",
    "last_name": "Smith",
    "phone": "+15551234567",
    "email": "john.smith@example.com"
  },
  "start_point": { "type": "iata", "iata": "PUJ" },
  "end_point": {
    "type": "coordinates",
    "coordinates": { "lat": 18.6812, "lon": -68.4124 },
    "address": "Hotel Riu Palace, Bávaro"
  }
}
{
  "order_id": "T-7KQ4M2X",
  "pin_code": "4821",
  "supplier_link": "https://usacaribbeantours.com/admin/external-api/etg/orders/T-7KQ4M2X",
  "start_time": "2026-12-15T14:30:00-04:00",
  "distance": 24.6,
  "estimated_duration_minutes": 35,
  "included_waiting_time_minutes": 60,
  "buffer_time_minutes": 0,
  "passengers": 4,
  "luggage_places": 4,
  "sport_luggage_places": 0,
  "animals": 0,
  "wheelchairs_places": 0,
  "children_seat_0": 0,
  "children_seat_1": 1,
  "children_seat_2": 0,
  "children_seat_3": 0,
  "flight_number": "AA1234",
  "shield_text": "SMITH FAMILY",
  "comment": "Arriving with a stroller",
  "price": { "amount": 95.0, "currency": "USD" },
  "meeting_instructions": "Our driver waits at the arrivals exit holding a sign with your name."
}
  • order_id is short and easy to read over the phone. Store it: you need it for /status and /cancel.
  • pin_code lets the passenger identify themselves to the driver.
  • supplier_link points to the order in our back office, for our support team.
  • meeting_instructions and upsells are only present when they apply.

POST /status

Returns the current state of an order.

FieldTypeRequiredDescription
order_idstringYesThe order id from /book.
{
  "status": "completed",
  "order_id": "T-7KQ4M2X",
  "start_time": "2026-12-15T14:30:00-04:00",
  "free_cancel_until": "2026-12-14T14:30:00-04:00",
  "price": { "amount": 95.0, "currency": "USD" },
  "transfer_category": "economy_van",
  "main_passenger": { "first_name": "John", "last_name": "Smith", "phone": "+15551234567" },
  "passengers": 4,
  "luggage_places": 4,
  "sport_luggage_places": 0,
  "animals": 0,
  "included_waiting_time_minutes": 60,
  "buffer_time_minutes": 0,
  "comment": "Arriving with a stroller",
  "shield_text": "SMITH FAMILY",
  "driver_info": {
    "first_name": "Carlos",
    "last_name": "Pérez",
    "phone": "+18095551234",
    "carrier_company_name": "USA Caribbean Tours"
  },
  "car_info": { "car_model": "Toyota Hiace", "plate_number": "A123456", "color": "White" },
  "meeting_info": { "instructions": "Arrivals hall, exit B." }
}
  • status is completed (confirmed and active) or cancelled.
  • driver_info, car_info and meeting_info appear only after we assign them. Call /status again closer to the trip to pick them up.

POST /cancel

Cancels an order. It always succeeds, even when a driver is already assigned. Inside the free cancellation window (free_cancel_until) the penalty is 0; after it, the penalty agreed in your contract applies (never more than the order price).

FieldTypeRequiredDescription
order_idstringYesThe order id from /book.
{ "penalty": { "amount": 0, "currency": "USD" } }

Cancelling the same order again is safe and returns the same penalty.

Errors

{ "code": "validation_error", "error": "passengers must be an integer between 1 and 100" }
codeHTTPMeaning
unauthorized401Missing or wrong credentials, or the account is disabled.
validation_error400The body is not valid JSON or a field is missing or invalid. The message names the field.
offer_not_found400The offer_id does not exist or belongs to another account.
offer_expired400The offer is no longer bookable. Run a new search.
order_not_found400The order_id does not exist or belongs to another account.
internal_error500Unexpected error on our side. Safe to retry; contact us if it persists.

Vehicle categories

transfer_category uses these values. car_model gives the actual make and model (for example "Toyota Hiace"), and seats the real capacity.

microeconomyeconomy_mpv_neweconomy_mpveconomy_vanminibusbusinessbusiness_mpvbusiness_vanfirstbuselectro_microelectro_economyelectro_economy_mpvelectro_comfortelectro_economy_vanelectro_minibuselectro_businesselectro_business_mpvelectro_business_vanelectro_firstelectro_bus

Go-live checklist

  1. Develop and test with your test credentials (see Test mode); responses carry X-Test-Mode: true and those orders must never be treated as real.
  2. Run a search for a route you sell and show the offers with their price, vehicle and cancellation deadline.
  3. Book from the offer id within its validity; if you get offer_expired, search again.
  4. Save order_id and pin_code and give the passenger the pin.
  5. Call /status before the trip to show the driver and vehicle to your customer.
  6. Handle cancellations through /cancel and charge or refund using the returned penalty.
  7. Treat { "offers": [] } as "not available", not as a failure.
  8. At go-live, ask us to validate your test orders and switch to your live credentials; nothing else changes.

Questions about the integration? Contact us.

Tours API

Seats on scheduled shared-bus tours, with live availability and automatic seat assignment.

Overview

The Tours API lets you sell seats on our scheduled shared-bus tours in your own website or booking system, with live availability, instant confirmation and automatic seat assignment. A tour runs on fixed weekdays and times; you book a number of seats on one departure.

  • Products lists the tours you can sell, with their pickup and drop-off points, schedule and price per person.
  • Availability returns the departures of a tour on a date with free seats and the price for your party (adults, children and infants).
  • Book reserves the seats and confirms the booking. Safe to retry thanks to your partner_reference.
  • Status returns the booking, including the assigned seats.
  • Cancel cancels a booking until the cancellation deadline and frees its seats.
Base URL
https://usacaribbeantours.com/api/v1/tours

Access

The Tours API uses the same credentials as the rest of our partner API, but it is enabled separately for each partner by our team. If you receive 403 forbidden, your account does not have tours yet: contact us. Together with access you receive your contracted rates and cancellation terms.

Conventions

  • Authentication, POST with a JSON body and the error shape are the same as described above.
  • Field names are snake_case. Dates are YYYY-MM-DD and times HH:mm (24 hours).
  • Dates and times are local to the tour (US Eastern time, America/New_York). Timestamps such as cancellable_until carry their UTC offset.
  • Amounts are numbers with two decimals in USD; the response also includes currency.
  • Prices are per passenger and use your contracted rate. Adults, children and VIP seats can have different prices; the total is the sum over the passengers (see Passengers).
  • Optional header Accept-Language (en, es or pt, default en) translates tour, location and vehicle names in /products.
  • No availability is not an error: /availability returns an empty departures list when the tour does not operate that day.
  • Seats are assigned by us when you book; you do not choose them, only whether they are standard or VIP.
  • With test credentials every response carries the header X-Test-Mode: true and a top-level "test": true. See Test mode.

Integration flow

  1. /products (cache it, it changes rarely) to build your catalogue and read the pickup and drop-off points of each tour.
  2. /availability when a customer picks a tour, date and party size, to show departures, free seats and price.
  3. /book with a unique partner_reference for the chosen departure. Store the returned booking_id.
  4. /status any time to read the booking and its seats, and /cancel if the customer cancels before cancellable_until.

Passengers, VIP seats and double-deckers

Everything in this section is additive and backward compatible: requests that only send passengers keep working exactly as before (that many adult seats in standard seats), and the existing response fields are unchanged.

Passenger types

  • Adult: the base price.
  • Child: ages 3 to 12. May have a lower price (passenger_prices.*.child); when the tour has no child price it equals the adult price.
  • Infant: ages 0 to 2. Always free.
  • Every booking needs at least one adult; a child or infant never travels alone (validation_error).

Infants: lap or seat

It depends on the vehicle (vehicle.infants_require_seat in /products). When it is false infants ride on a lap: they take no seat, are not counted in passengers or seats_available, and each adult can carry at most one (infants cannot exceed adults). When it is true each infant takes a seat (still free) and counts in passengers.

VIP seats and double-deckers

Some vehicles are double-deckers (vehicle.double_decker) and some have VIP seats (vehicle.has_vip_seats), usually the front row of the upper deck. VIP seats have their own prices (vip_adult, vip_child: they fall back to the standard prices when the tour has none). You choose a seat_class for the whole booking, standard (default) or vip, and we assign the first free seats of that class, front to back and lower deck first. Standard bookings never take VIP seats. Seat ids of the upper deck start with U- (for example U-A1). vehicle.total_seats counts both decks.

How to send the passengers

  • Original form: only passengers, meaning that many adults.
  • New form: adults, children, infants (missing counts are 0). passengers then becomes optional.
  • If you send both, passengers must equal the number of seated travelers: adults + children, plus infants when the vehicle requires a seat for them. Otherwise validation_error.
{
  "partner_reference": "OTA-12346",
  "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
  "date": "2026-12-07",
  "time": "08:00",
  "passengers": 2,
  "customer": { "first_name": "Ann", "last_name": "Lee", "email": "ann@example.com", "phone": "+15551234567" }
}

POST /products

Lists the active tours available to you with the price per person of your contracted rate. Send an empty body, or a tour_id to fetch a single tour.

FieldTypeRequiredDescription
tour_idstringNoReturn only this tour.
curl -X POST https://usacaribbeantours.com/api/v1/tours/products \
  -u "YOUR_USERNAME:YOUR_PASSWORD" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "currency": "USD",
  "tours": [
    {
      "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
      "name": "Miami to Key West",
      "description": "Full-day tour with a guide and stops along the Overseas Highway.",
      "duration_minutes": 600,
      "min_passengers": 1,
      "vehicle": {
        "name": "Double-decker",
        "capacity": 40,
        "total_seats": 80,
        "double_decker": true,
        "has_vip_seats": true,
        "infants_require_seat": false
      },
      "start_location": { "id": "cmh3a0000000aqz8l1111aaaa", "name": "Miami Downtown", "city": "Miami" },
      "end_location": { "id": "cmh3a0000000bqz8l2222bbbb", "name": "Key West", "city": "Key West" },
      "pickup_points": [
        { "location_id": "cmh3a0000000aqz8l1111aaaa", "name": "Miami Downtown", "city": "Miami", "time": "07:00", "order": 0 }
      ],
      "dropoff_points": [
        { "location_id": "cmh3a0000000bqz8l2222bbbb", "name": "Key West", "city": "Key West", "time": null, "order": 1 }
      ],
      "restrictions": [],
      "round_trip": {
        "available": true,
        "price_per_person": 120.0,
        "return_departures": [
          {
            "departure_time": "17:00",
            "pickup_points": [
              { "location_id": "cmh3a0000000bqz8l2222bbbb", "name": "Key West", "city": "Key West", "time": "17:00", "order": 0 }
            ],
            "dropoff_points": [
              { "location_id": "cmh3a0000000aqz8l1111aaaa", "name": "Miami Downtown", "city": "Miami", "time": null, "order": 1 }
            ]
          }
        ]
      },
      "price_per_person": 75.0,
      "passenger_prices": {
        "one_way": { "adult": 75.0, "child": 50.0, "infant": 0.0, "vip_adult": 90.0, "vip_child": 60.0 },
        "round_trip": { "adult": 120.0, "child": 80.0, "infant": 0.0, "vip_adult": 140.0, "vip_child": 90.0 }
      },
      "requires_pickup_address": false,
      "weekly_schedule": [
        { "day_of_week": 1, "time": "08:00", "end_time": "18:00" },
        { "day_of_week": 6, "time": "08:00", "end_time": "18:00" }
      ]
    }
  ]
}
  • price_per_person is the one-way price. round_trip.price_per_person is the price for the round trip, per person; when round trip is not offered, round_trip.available is false and the price is null.
  • passenger_prices (new) has the per-seat prices of your rate for one_way and round_trip (null when not offered): adult, child (3–12), infant (0–2, always 0), vip_adult and vip_child.
  • vehicle (new fields): total_seats, double_decker, has_vip_seats and infants_require_seat; capacity is unchanged (lower deck).
  • pickup_points and dropoff_points are the locations you can send in /book (order is the position along the route; the pickup must come before the drop-off). time is the stop's pickup time when there is one.
  • restrictions lists combinations that cannot be booked: a pickup that cannot be paired with a given drop-off.
  • return_departures lists the return times and points offered for a round trip.
  • requires_pickup_address is true when the tour picks up at the customer's address; send pickup_address in /book.
  • weekly_schedule shows when the tour usually runs (day_of_week: 0 = Sunday). Always use /availability for the real answer for a date.

POST /availability

Returns the departures of a tour on a date with the seats still free and the price for your party size. Departures that start sooner than our minimum advance time are not listed.

FieldTypeRequiredDescription
tour_idstringYesThe tour id from /products.
datestringYesTravel date, YYYY-MM-DD. Not in the past and at most 365 days ahead.
passengersintegerNoSeated adults, as before (1 to 50). Optional when adults / children / infants are sent; required otherwise. If both are sent it must equal the seated count.
adultsintegerNoNew. Adults, at least 1 when the counts are used.
childrenintegerNoNew. Children aged 3–12. Default 0.
infantsintegerNoNew. Infants aged 0–2. Default 0. Not seated unless the vehicle requires it; at most one per adult.
seat_classstringNoNew. "standard" (default) or "vip": which seats the price and bookable refer to.
round_tripbooleanNoPrice the round trip. Only valid for tours that offer it. Default false.
pickup_location_idstringNoOptional, validated like in /book.
dropoff_location_idstringNoOptional, validated like in /book.
curl -X POST https://usacaribbeantours.com/api/v1/tours/availability \
  -u "YOUR_USERNAME:YOUR_PASSWORD" \
  -H "Content-Type: application/json" \
  -d '{
    "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
    "date": "2026-12-07",
    "adults": 2,
    "children": 1,
    "infants": 1
  }'
{
  "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
  "date": "2026-12-07",
  "currency": "USD",
  "departures": [
    {
      "time": "08:00",
      "end_time": "18:00",
      "seats_available": 12,
      "vip_seats_available": 6,
      "bookable": true,
      "price_per_person": 75.0,
      "prices": { "adult": 75.0, "child": 50.0, "infant": 0.0, "vip_adult": 90.0, "vip_child": 60.0 },
      "total_price": 200.0
    }
  ]
}
  • test is true only with test credentials, and absent otherwise. The same applies to /products, /book, /status and /cancel.
  • time is the value you send as time in /book.
  • seats_available is the number of free standard (non-VIP) seats, the same number as before on vehicles without VIP seats. vip_seats_available (new) is the free VIP seats.
  • bookable is true when the free seats of your seat_class cover the seated travelers.
  • price_per_person is the standard adult price. prices (new) has all per-type prices.
  • total_price is the sum for your party and seat_class, rounded to two decimals. With only passengers it is price_per_person × passengers, as before.

POST /book

Books seats on a departure. The booking is confirmed immediately and the seats are assigned automatically, in order, from the free seats of the vehicle. Payment is not taken through the API: bookings are billed to your partner account at your contracted rate.

FieldTypeRequiredDescription
partner_referencestringYesYour own unique id for the booking, 1–100 characters. It makes the call safe to retry (see below).
tour_idstringYesThe tour id from /products.
datestringYesTravel date, YYYY-MM-DD.
timestringYesDeparture time from /availability, HH:mm.
passengersintegerNoSeated adults (1 to 50), as before. Required unless adults / children / infants are sent; if both are sent it must equal the seated count (lap infants not counted).
adultsintegerNoNew. Adults; at least 1 when the counts are used.
childrenintegerNoNew. Children aged 3–12. Default 0.
infantsintegerNoNew. Infants aged 0–2, free. Lap infants (default vehicles) take no seat, max one per adult; on vehicles with infants_require_seat they take a seat.
seat_classstringNoNew. "standard" (default) or "vip". Standard picks free non-VIP seats, vip picks free VIP seats; not enough free seats of the class gives not_available.
customerobjectYesfirst_name, last_name, email, phone.
round_tripbooleanNoBook the round trip. Only for tours that offer it. Default false.
pickup_location_idstringNoMust be a pickup point of the tour (pickup_points[].location_id). Required when the tour defines its own stops; optional on tours without stops (defaults to the start location). The pickup must come before the drop-off.
dropoff_location_idstringNoMust be a drop-off point of the tour (dropoff_points[].location_id) and not blocked by the pickup's restrictions. Required when the tour defines its own stops; optional on tours without stops (defaults to the end location).
returnobjectNoOnly with round_trip: true: pickup_location_id, dropoff_location_id and departure_time of the return leg, taken from return_departures when the tour lists them.
pickup_addressstringNoRequired when requires_pickup_address is true. Up to 500 characters.
expected_total_pricenumberNoThe total you showed your customer. If it differs from the current price the call fails with price_changed and nothing is booked.
curl -X POST https://usacaribbeantours.com/api/v1/tours/book \
  -u "YOUR_USERNAME:YOUR_PASSWORD" \
  -H "Content-Type: application/json" \
  -H "Accept-Language: en" \
  -d '{
    "partner_reference": "OTA-12345",
    "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
    "date": "2026-12-07",
    "time": "08:00",
    "adults": 2,
    "children": 1,
    "infants": 1,
    "seat_class": "standard",
    "round_trip": true,
    "pickup_location_id": "cmh3a0000000aqz8l1111aaaa",
    "dropoff_location_id": "cmh3a0000000bqz8l2222bbbb",
    "return": {
      "pickup_location_id": "cmh3a0000000bqz8l2222bbbb",
      "dropoff_location_id": "cmh3a0000000aqz8l1111aaaa",
      "departure_time": "17:00"
    },
    "customer": {
      "first_name": "John",
      "last_name": "Smith",
      "email": "john.smith@example.com",
      "phone": "+15551234567"
    },
    "expected_total_price": 320.0
  }'

The response is the same booking object returned by /status.

With test credentials the booking is validated and priced like a live one, but no seats are held. The booking_id starts with test_ (for example test_cmh3k9z8y0007qz8l5m6n7o8p), the body has "test": true and the response has the header X-Test-Mode: true. Idempotency and cancellation work as in live.

Idempotency

partner_reference is unique per partner. If a call times out, repeat it with the same body: you get the existing booking back (HTTP 200, no second booking). Reusing the reference with a different tour, date, time, passenger mix or seat class returns 409 conflict.

Seats and pricing

  • Seats are assigned automatically and returned in seats. Two concurrent bookings never receive the same seat; if the departure fills up meanwhile you get not_available.
  • Your price is your contracted rate for the tour, per passenger type and seat class (adult, child, infant, VIP). Send expected_total_price to be protected against price changes between /availability and /book.
  • Departures that start sooner than our minimum advance time cannot be booked.
  • By default we do not email your customer; confirmation to the traveller is up to you. Our team can enable our confirmation email for your account.

POST /status

Returns the current state of a booking. Identify it with either field. You can only read bookings made with your own credentials.

FieldTypeRequiredDescription
booking_idstringNoThe booking id returned by /book.
partner_referencestringNoYour reference. Send either booking_id or partner_reference.
{
  "booking_id": "cmh3k9z8y0007qz8l5m6n7o8p",
  "partner_reference": "OTA-12345",
  "status": "confirmed",
  "tour_id": "cmh3a1b2c0001qz8l9d4e5f6g",
  "tour_name": "Miami to Key West",
  "date": "2026-12-07",
  "time": "08:00",
  "passengers": 3,
  "adults": 2,
  "children": 1,
  "infants": 1,
  "seat_class": "standard",
  "seats": ["A1", "A2", "A3"],
  "passenger_details": [
    { "type": "adult", "seat": "A1", "vip": false, "price": 120.0 },
    { "type": "adult", "seat": "A2", "vip": false, "price": 120.0 },
    { "type": "child", "seat": "A3", "vip": false, "price": 80.0 },
    { "type": "infant", "seat": null, "vip": false, "price": 0.0 }
  ],
  "round_trip": true,
  "pickup_location": { "id": "cmh3a0000000aqz8l1111aaaa", "name": "Miami Downtown", "city": "Miami" },
  "dropoff_location": { "id": "cmh3a0000000bqz8l2222bbbb", "name": "Key West", "city": "Key West" },
  "return": {
    "pickup_location": { "id": "cmh3a0000000bqz8l2222bbbb", "name": "Key West", "city": "Key West" },
    "dropoff_location": { "id": "cmh3a0000000aqz8l1111aaaa", "name": "Miami Downtown", "city": "Miami" },
    "departure_time": "17:00"
  },
  "customer": {
    "first_name": "John",
    "last_name": "Smith",
    "email": "john.smith@example.com",
    "phone": "+15551234567"
  },
  "total_price": 320.0,
  "currency": "USD",
  "cancellable_until": "2026-12-06T08:00:00-05:00",
  "created_at": "2026-11-02T15:04:05Z",
  "cancelled_at": null
}
  • status is one of confirmed, cancelled, completed, checked_in or no_show.
  • passengers is the number of seats the booking occupies (lap infants excluded). adults, children, infants (new) are the counts by type.
  • seats are the seat labels assigned to the booking (upper-deck ids start with U-).
  • passenger_details (new) has one entry per traveler: type (adult, child, infant), seat (null for a lap infant), vip and price. seat_class (new) is what was booked. Bookings made before these fields existed report all travelers as standard adults.
  • return is null for one-way bookings; pickup_location and dropoff_location are null when the tour has no stops.
  • cancellable_until is the last moment you can cancel (departure minus the cancellation window, with the Eastern time offset).
  • cancelled_at is null until the booking is cancelled.
  • test is true for bookings made with test credentials (and only those); it is absent on live bookings.

POST /cancel

Cancels a booking and frees its seats immediately. It is allowed until cancellable_until (24 hours before departure unless your contract says otherwise). After that the call fails with 409 cancellation_not_allowed; contact us for exceptions.

FieldTypeRequiredDescription
booking_idstringNoThe booking id returned by /book.
partner_referencestringNoYour reference. Send either booking_id or partner_reference.
curl -X POST https://usacaribbeantours.com/api/v1/tours/cancel \
  -u "YOUR_USERNAME:YOUR_PASSWORD" \
  -H "Content-Type: application/json" \
  -d '{ "partner_reference": "OTA-12345" }'

The response is the booking object with status: "cancelled" and cancelled_at set. Cancelling a booking that is already cancelled is safe and returns the same object.

Errors

{ "code": "not_available", "error": "Not enough seats left on this departure" }
codeHTTPMeaning
unauthorized401Missing or wrong credentials, or the account is disabled.
forbidden403Your credentials are valid but the Tours API is not enabled for your account. Contact us.
validation_error400The body is not valid JSON or a field is missing or invalid. The message names the field.
not_found404The tour, location or booking does not exist, or the booking belongs to another account.
not_available409The tour does not operate on that date or time, there are not enough seats, or the departure is inside the booking window (too soon to sell).
price_changed409You sent expected_total_price and it differs from the current price. Read the new price from /availability and confirm it with your customer.
conflict409The partner_reference was already used for a different booking request.
cancellation_not_allowed409The booking can no longer be cancelled: the cancellation deadline has passed or its status does not allow it.
busy503Another request was booking seats on the same departure and we could not get the seats in time. Retry the same call with the same partner_reference.
internal_error500Unexpected error on our side. Safe to retry with the same partner_reference; contact us if it persists.

Go-live checklist

  1. Develop and test with your test credentials (see Test mode) and make sure test bookings, flagged by X-Test-Mode: true, are never treated as real.
  2. Confirm with us that tours are enabled for your account and which rate and cancellation window apply.
  3. Load /products and build your catalogue from tour_id, pickup and drop-off points.
  4. Call /availability before every booking and show the price returned there; treat an empty departures list or bookable: false as "not available".
  5. Generate a unique partner_reference per booking and retry /book with the same one after a timeout or a 5xx.
  6. Send expected_total_price and handle price_changed and not_available by re-checking availability.
  7. Store booking_id and show your customer the date, time, pickup point and seats.
  8. Show the cancellation deadline (cancellable_until) and cancel through /cancel.
  9. Handle every code in the errors table above.
  10. At go-live, ask us to validate your test bookings and switch to your live credentials; nothing else changes.

Questions about the integration? Contact us.