Create Booking
create_bookingBook a charter with a captain. A captain with Instant Book on returns a Stripe Checkout link (payment.kind checkout_link) for the charterer to complete payment. A captain who reviews every request first (get_quote's instantBook: false) is sent a request instead: nothing is charged, the result is a request with the estimated total and deposit, and if the captain accepts, the charterer is emailed a link to pay. Optionally attach a partner/affiliate code to credit a referrer; partnerCode can't be used on a request (PARTNER_CODE_NOT_AVAILABLE_FOR_REQUESTS). harborId must be a harbor this captain departs from: one of get_captain's harbors, or any list_harbors harbor when get_captain lists none. create_booking refuses any other harbor with HARBOR_NOT_OFFERED, and that error's harbors field lists the ones the captain departs from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| Yes | |||
| phone | Yes | ||
| harborId | Yes | ||
| lastName | Yes | ||
| firstName | Yes | ||
| partySize | Yes | ||
| startTime | Yes | ||
| durationId | Yes | ||
| captainSlug | Yes | ||
| partnerCode | No | ||
| pricingTierId | Yes | ||
| specialRequests | No |