get/agent/account
Agency account and available credit
Requires scope `account:read`.
Responses: 200, 401, 403, 429
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
Agency account and available credit
Requires scope `account:read`.
Responses: 200, 401, 403, 429
Availability with sailing ids
Requires scope `availability:read`.
from (query) First dateto (query) Last dateResponses: 200, 401, 403, 429
Floor plan of a sailing: decks, seating areas and tables with free seats
Requires scope `availability:read`.
sailing (path, required) sailing_id from availabilityResponses: 200, 404, 401, 403, 429
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
List your bookings
Requires scope `bookings:read`.
status (query) Booking statussailing_from (query) From cruise datesailing_to (query) To cruise dateper_page (query) 1–100agent_reference (query) Only the booking made with this agent_referenceResponses: 200, 401, 403, 429
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
One of your bookings
Requires scope `bookings:read`.
booking (path, required) Booking idResponses: 200, 404, 401, 403, 429
Cancel an unpaid booking (confirmed bookings: contact us)
Requires scope `bookings:cancel`.
booking (path, required) Booking idIdempotency-Key (header, required) Responses: 200, 404, 409, 401, 403, 429
Short-lived download link for the voucher or invoice
Requires scope `documents:read`.
booking (path, required) Booking idtype (path, required) Responses: 200, 404, 401, 403, 429