Boats

Create a new boat

Creates a boat owned by the caller using the full Boat surface (name, type, harbor, capacity, slip info, fuel surcharge, deposit, photos). Pricing tiers are managed separately and are not created by this endpoint.

post/api/v1/boats

Request

  • Base URL: http://localhost:3002
  • URL: http://localhost:3002/api/v1/boats
  • Auth: HTTP bearer

Headers

Idempotency-Keystring uuid

Client-supplied UUID v4. Repeat requests with the same key return the cached response.

Request body

namestring required
type'SAILBOAT' | 'POWERBOAT' | 'PONTOON' | 'JETSKI' | 'KAYAK' | 'CANOE' | 'YACHT' | 'OTHER' required
harborIdstring required
capacityinteger required
slipNumberstring nullable
gateCodestring nullable
slipInstructionsstring nullable
fuelSurchargeEnabledboolean
fuelSurchargeAmountinteger nullable
depositType'FIXED' | 'PERCENTAGE'
depositValueinteger
photosstring[]

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.