Pool Inventory API
Pool Inventory sells third-party resorts and liveaboards from counts — units per room type per night, or cabins per cabin type per trip — instead of physical rooms. These pages cover the endpoints behind it: reading and writing allocations, importing supplier files, the inventory-mode switch, the supplier fields on a booking, and the public cross-asset search.
What the feature does for staff is in the user guide: Pool Inventory.
Before you start
- The Pool Inventory module must be on. Staff routes answer
403when it is off; the public search answers404. - Authenticate staff routes with an API key of a staff user. Agency (sub-agent) users get
403on every Pool Inventory route. - The user's role needs the Pool Inventory permission area:
poolinventory.read,.create,.update,.delete, and the separatepoolinventory.overridefor release-period sales. - Users limited to certain assets only see and write those assets.
- Errors use the common envelope; the code is in
message.
Conventions
- Days are
YYYY-MM-DDstrings in the company's time zone. Ranges are end-exclusive:from=2027-03-12&to=2027-03-16is four nights. - Money is
{ "price": 145, "currency": "EUR" }. - Writes default to a dry run.
PUT units,POST import,POST definitions/:id/runandPOST mode/:type/:idonly write when you senddryRun=false(query) or"dryRun": false(body). - Allocation
units: nullmeans no count (closed), not 0.freecan be negative (overbooked).
In this chapter
- Staff endpoints — grid, trips, units, overbooked, restore, search, import, definitions, runs, review, mode switch, supplier fields.
- Public search and booking —
GET /api/book/pool/searchand booking a pool line from your own front end.
Stability
Like the rest of the Gurita API, these routes are the ones the app uses. They are not versioned and can change between releases. Planning an integration? Contact us.
