Skip to content
Carnival Cruise by Boonmax

DinnerCruiseBooking.com Agent API

For approved travel agencies. Each key acts as one agency user and only sees that agency's bookings. POST requests that change state need an `Idempotency-Key` header: repeating a request with the same key replays the original response and never books or charges twice. A key bound to a website (WordPress plugin) also needs the headers `X-DCB-Username` (the user's login email) and `X-DCB-Website` (the bound domain); any mismatch is answered like a wrong key. Amounts are integers in minor units (fils) with a currency code. Errors are `{"error": {"code", "message"}}`. Responses carry `X-Api-Version: v1`. Request bodies are limited to 64 KB.

Base path: /api/v1 · Version: v1

get/agent/account

Agency account and available credit

Requires scope `account:read`.

Responses: 200, 401, 403, 429

get/agent/availability

Availability with sailing ids

Requires scope `availability:read`.

  • from (query) First date
  • to (query) Last date

Responses: 200, 401, 403, 429

get/agent/sailings/{sailing}/seating

Floor plan of a sailing: decks, seating areas and tables with free seats

Requires scope `availability:read`.

  • sailing (path, required) sailing_id from availability

Responses: 200, 404, 401, 403, 429

post/agent/quotes

Price a party at your agency rates (in a seating area: that area's price)

Requires scope `quotes:create`.

Body: AgentQuoteRequest

Responses: 200, 422, 401, 403, 429

get/agent/bookings

List your bookings

Requires scope `bookings:read`.

  • status (query) Booking status
  • sailing_from (query) From cruise date
  • sailing_to (query) To cruise date
  • per_page (query) 1–100
  • agent_reference (query) Only the booking made with this agent_reference

Responses: 200, 401, 403, 429

post/agent/bookings

Create a booking. Credit agencies are confirmed on account; prepaid agencies receive a `payment_url` valid for 2 hours.

Requires scope `bookings:create`.

  • Idempotency-Key (header, required)

Body: AgentBookingRequest

Responses: 201, 409, 422, 401, 403, 429

get/agent/bookings/{booking}

One of your bookings

Requires scope `bookings:read`.

  • booking (path, required) Booking id

Responses: 200, 404, 401, 403, 429

post/agent/bookings/{booking}/cancel

Cancel an unpaid booking (confirmed bookings: contact us)

Requires scope `bookings:cancel`.

  • booking (path, required) Booking id
  • Idempotency-Key (header, required)

Responses: 200, 404, 409, 401, 403, 429

get/agent/bookings/{booking}/documents/{type}

Short-lived download link for the voucher or invoice

Requires scope `documents:read`.

  • booking (path, required) Booking id
  • type (path, required)

Responses: 200, 404, 401, 403, 429