RentalTideRentalTideDocs
Dashboard

Inventory API

Manage your rental fleet, pricing, and product catalog

Endpoints for managing inventory items, pricing rules, and inventory records.

Inventory

Upload inventory photo

POST /inventory/photo/{inventory_id}

Uploads and optimizes a photo for an inventory item, storing it in S3

Parameters

NameInTypeRequiredDescription
inventory_idpathstringYesThe inventory ID to add photo to

Responses

CodeDescription
200Photo uploaded successfully
400Missing inventory_id or photo file
500Internal server error

Upload inventory video

POST /inventory/video/{inventory_id}

Uploads a video for an inventory item, storing it in S3

Parameters

NameInTypeRequiredDescription
inventory_idpathstringYesThe inventory ID to add video to

Responses

CodeDescription
200Video uploaded successfully
400Missing inventory_id, video file, or unsupported format
500Internal server error

Save asset map configuration

POST /inventory/asset-map/{inventory_id}

Saves asset map pin configuration for an inventory item, optionally uploading a map image

Parameters

NameInTypeRequiredDescription
inventory_idpathstringYesThe inventory ID to configure asset map for

Responses

CodeDescription
200Asset map configuration saved successfully
400Missing inventory_id or invalid pins data
403Unauthorized to update this inventory
404Inventory not found
500Internal server error

Create or update inventory settings

POST /inventory/setup

Creates or updates an inventory record with all settings including pricing, capacity, and asset pool configuration

Request body

FieldTypeRequiredDescription
dataobjectYes

Responses

CodeDescription
200Inventory settings updated successfully
400Missing required data
403Unauthorized to update inventory for another customer
500Internal server error

Get inventory by customer

GET /inventory/customer

Retrieves all inventory items for a given customer ID

Parameters

NameInTypeRequiredDescription
customer_idquerystringYesThe customer ID to get inventory for

Responses

CodeDescription
200Inventory items retrieved successfully
400Missing customer_id query parameter
500Internal server error

Delete an inventory item

DELETE /inventory/delete/{inventory_id}

Deletes an inventory item by ID

Parameters

NameInTypeRequiredDescription
inventory_idpathstringYesThe inventory ID to delete

Responses

CodeDescription
200Inventory deleted successfully
400Missing inventory_id param
403Unauthorized to delete this inventory
404Inventory not found
500Internal server error

Reorder inventory items

POST /inventory/reorder

Updates the display order of inventory items

Request body

FieldTypeRequiredDescription
orderedBoatsarrayYes

Responses

CodeDescription
200Order updated successfully
400Invalid data - orderedBoats array is required
500Internal server error

Inventory Pricing

Get inventory pricing

GET /inventory-pricing

Retrieves pricing configuration for an inventory item including seasons, hourly rates, and addons

Parameters

NameInTypeRequiredDescription
inventory_idquerystringYesThe inventory ID to get pricing for (also accepts inventoryId)

Responses

CodeDescription
200Pricing data retrieved successfully
400Missing inventory_id query parameter or validation error
404No pricing found for the inventory
500Internal server error

Create or update inventory pricing

POST /inventory-pricing

Creates or updates pricing configuration for an inventory item including seasons, schedule exceptions, and addons

Request body

FieldTypeRequiredDescription
dataobjectYes

Responses

CodeDescription
200Inventory pricing updated successfully
400Missing required data or validation error
500Internal server error

Inventory Records

Get inventory records

GET /boatRecords

Retrieves records for an inventory item, optionally filtered by record type

Parameters

NameInTypeRequiredDescription
inventoryIdquerystringYesThe inventory ID to get records for
RecordTypequerystringNoFilter by record type (e.g., checkout, checkin)

Responses

CodeDescription
200Records retrieved successfully
400inventoryId is required
500Internal server error

Create an inventory record

POST /boatRecords

Creates a new record for an inventory item. May trigger Ship Shape AI analysis for check-in records with photos.

Request body

FieldTypeRequiredDescription
inventoryIdstringYesThe inventory ID
RecordTypestringYesType of record (checkout, checkin, etc.)
DetailsobjectYesRecord details
RentalIdstringNoAssociated rental ID
AssetIdstringNoAssociated asset ID
timestampstringNoRecord timestamp (defaults to current time)

Responses

CodeDescription
201Record created successfully
400Missing required fields
500Internal server error

Update an inventory record

PATCH /boatRecords

Updates an existing record's Details attribute

Request body

FieldTypeRequiredDescription
inventoryIdstringYesThe inventory ID
timestampstringYesRecord timestamp (used as sort key)
UpdatesobjectYesFields to update within the Details attribute

Responses

CodeDescription
200Record updated successfully
400inventoryId, timestamp, and Updates are required
500Internal server error

Delete an inventory record

DELETE /boatRecords

Deletes a record by inventoryId and timestamp

Request body

FieldTypeRequiredDescription
inventoryIdstringYesThe inventory ID
timestampstringYesRecord timestamp (used as sort key)

Responses

CodeDescription
200Record deleted successfully
400inventoryId and timestamp are required
500Internal server error

Get paginated rundown records

GET /boatRecords/rundownRecords

Retrieves records for an inventory item with pagination support

Parameters

NameInTypeRequiredDescription
inventoryIdquerystringYesThe inventory ID to get records for
limitqueryintegerNoNumber of items to return
nextTokenquerystringNoURL-encoded pagination token for next page

Responses

CodeDescription
200Records retrieved successfully with pagination info
400inventoryId is required
500Internal server 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.