Peek Pro MCP by usefulapi

v1.2.1
io.usefulapi/peek-pro Checked 2 days ago Published 1 day ago

Read products, availability and bookings; reserve, confirm, change or cancel bookings in Peek Pro.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

peekpro_get_supplier Get supplier

Get the operator (supplier) that owns the OCTO key: name, id, contact details and the endpoint. Good first call to confirm which Peek Pro account is connected. OCTO: GET /supplier.

peekpro_list_products List products

List the products (activities or rentals) the operator enabled for this connection, with their options, units, capabilities and delivery formats. OCTO: GET /products.

peekpro_get_product Get a product

Get one product by id, with its options, units, restrictions, cancellation cutoff and required contact fields. OCTO: GET /products/{id}.

ParameterTypeDescription
product_id *stringThe product id (from peekpro_list_products).

peekpro_get_availability_calendar Get availability calendar

Get one status per day (AVAILABLE, LIMITED, SOLD_OUT or CLOSED) for a product option over a date range. Fast; use it to draw a calendar. OCTO: POST /availability/calendar.

ParameterTypeDescription
local_date_end *stringLocal date, YYYY-MM-DD.
local_date_start *stringLocal date, YYYY-MM-DD.
option_id *stringThe option id (from peekpro_get_product).
product_id *stringThe product id.
unitsarrayUnits and quantities to check. Omit to check the whole option.

peekpro_get_availability Get availability slots

Get the exact departure slots for a product option over a date range. Each slot's id is the availability_id that peekpro_create_booking needs. Use it before booking. OCTO: POST /availability.

ParameterTypeDescription
local_date_end *stringLocal date, YYYY-MM-DD.
local_date_start *stringLocal date, YYYY-MM-DD.
option_id *stringThe option id (from peekpro_get_product).
product_id *stringThe product id.
unitsarrayUnits and quantities to check. Omit to check the whole option.

peekpro_list_bookings List bookings

List bookings, filtered by your reseller reference, the operator's reference, a single date, a date range, product or option. OCTO: GET /bookings.

ParameterTypeDescription
local_datestringOnly bookings for this local date.
local_date_endstringLast local date of a range.
local_date_startstringFirst local date of a range.
option_idstringOnly bookings for this option id.
product_idstringOnly bookings for this product id.
reseller_referencestringYour reference for the booking (voucher number).
supplier_referencestringThe operator's reference for the booking.

peekpro_get_booking Get a booking

Get one booking by uuid: status (ON_HOLD, CONFIRMED, CANCELLED and others), expiry, cancellation details, contact, units, vouchers and delivery options. OCTO: GET /bookings/{uuid}.

ParameterTypeDescription
uuid *stringThe booking uuid (from peekpro_create_booking or peekpro_list_bookings).

peekpro_create_booking Create a booking (reserve)

Reserve availability for a booking. It holds seats until expirationMinutes passes, unless confirmed first with peekpro_confirm_booking. Use the same uuid to retry safely. OCTO: POST /bookings.

ParameterTypeDescription
availability_id *stringThe availabilityId from peekpro_get_availability.
option_id *stringThe option id.
product_id *stringThe product id.
unit_items *arrayOne entry per ticket to book.
contactobjectLead traveller contact details.
expiration_minutesintegerMinutes to hold the seats. Default: the operator's setting.
notesstringNotes for the operator.
reseller_referencestringYour reference for this booking (voucher number).
uuidstringOptional uuid for this booking. Re-sending the same uuid returns the same booking.

peekpro_update_booking Update a booking

Change an existing booking. Send the full reservation fields (product, option, availability and units), as the OCTO reservation needs them. OCTO: PATCH /bookings/{uuid}.

ParameterTypeDescription
availability_id *stringThe availabilityId of the new slot.
option_id *stringThe option id.
product_id *stringThe product id.
unit_items *arrayOne entry per ticket to book.
uuid *stringThe booking uuid (from peekpro_create_booking or peekpro_list_bookings).
contactobjectLead traveller contact details.
expiration_minutesintegerMinutes to hold the seats. Default: the operator's setting.
notesstringNotes for the operator.
reseller_referencestringYour reference for this booking (voucher number).

peekpro_confirm_booking Confirm a booking

Confirm a held booking so it is sold and the voucher is issued. Needs the lead traveller's full name and email. Fails after the hold expires. OCTO: POST /bookings/{uuid}/confirm.

ParameterTypeDescription
contact *objectLead traveller contact (fullName and emailAddress are required).
uuid *stringThe booking uuid (from peekpro_create_booking or peekpro_list_bookings).
reseller_referencestringYour reference for this booking (voucher number).

peekpro_cancel_booking Cancel a booking

Cancel a confirmed booking, or release a held one. Only works before the operator's cancellation cutoff (see the booking's cancellable flag). OCTO: POST /bookings/{uuid}/cancel.

ParameterTypeDescription
uuid *stringThe booking uuid (from peekpro_create_booking or peekpro_list_bookings).
reasonstringWhy the booking is cancelled, for the operator's records.

peekpro_extend_booking Extend a hold

Extend the hold on an ON_HOLD booking for more minutes from now. Does not sell or cancel anything. OCTO: POST /bookings/{uuid}/extend.

ParameterTypeDescription
expiration_minutes *integerMinutes from now to keep the seats reserved.
uuid *stringThe booking uuid (from peekpro_create_booking or peekpro_list_bookings).