RentalTideRentalTideDocs
Dashboard

Availability API

Check real-time availability, holds, and maintenance blocks

Endpoints for checking inventory availability, placing temporary holds on assets, and managing dry dock maintenance periods.

Availability

Preload availability data

GET /preload-availability

Preloads booking data for a given inventory and month to enable faster availability checking on the client

Parameters

NameInTypeRequiredDescription
inventoryIdquerystringYesThe inventory ID to preload availability for
monthquerystringYesThe month to preload in YYYY-MM format

Responses

CodeDescription
200Availability data retrieved successfully
400Missing or invalid inventoryId or month parameter
500Internal server error

Hold Asset

Create a waitlist entry to hold an asset

POST /holdAsset

Creates a waitlist entry to temporarily hold/reserve an asset for a customer. Entries expire after 2 days (TTL).

Request body

FieldTypeRequiredDescription
customerIdstringYesThe customer ID
emailstringYesCustomer email address
inventoryIdstringYesThe ID of the inventory item to hold
locationIdstringYesThe location ID

Responses

CodeDescription
201Waitlist entry created successfully
400Missing required fields
500Could not create waitlist entry

Dry Dock

Create a new drydock booking

POST /drydock

Creates a new drydock booking to block a boat from rentals during a specified time period

Request body

FieldTypeRequiredDescription
boatIdstringYesThe ID of the boat to block
startDatestringYesStart date of the drydock period
endDatestringYesEnd date of the drydock period
assetIdsarrayNoOptional array of asset IDs to assign

Responses

CodeDescription
200Drydock booking created successfully
400Missing required fields or invalid date format
500Server error

Get drydock bookings

GET /drydock

Retrieves drydock bookings for a given boat and optionally filtered by asset

Parameters

NameInTypeRequiredDescription
boatIdquerystringYesThe ID of the boat to get drydock bookings for
assetIdquerystringNoOptional asset ID to filter by

Responses

CodeDescription
200List of drydock bookings
400Missing boatId parameter
500Server error

Update a drydock booking

PATCH /drydock

Updates an existing drydock booking with new dates or asset assignment

Request body

FieldTypeRequiredDescription
rentalIdstringYesThe ID of the drydock booking to update
startDatestringYesNew start date of the drydock period
endDatestringYesNew end date of the drydock period
assetIdstringNoOptional new asset ID to assign

Responses

CodeDescription
200Drydock booking updated successfully
400Missing required fields or invalid date format
500Server error

Delete a drydock booking

DELETE /drydock

Deletes an existing drydock booking

Request body

FieldTypeRequiredDescription
rentalIdstringYesThe ID of the drydock booking to delete

Responses

CodeDescription
200Drydock booking deleted successfully
400Missing rentalId
500Server error

Was this page helpful?
Need help? Contact Support.See what’s new. Check out changelog.Questions? Book a video chat.
Ask AI
Responses are generated using AI and may contain mistakes.
Ask questions about RentalTide and get help with your integration.