reenio MCP by usefulapi

v1.6.1
io.usefulapi/reenio Checked 2 days ago Published 1 day ago

Read reservations, customers and payments; change states and blocked times in reenio.

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

reenio_check_access Check API key access

Check that the reenio API key works. Returns accessible: true when reenio accepts it. GET /auth/checkaccess.

reenio_get_user_info Get account and key owner

Return the business account and the user the API key was issued for. GET /user/info.

reenio_list_reservations List reservations

List reservations in a period, optionally filtered by place, service, employee or resource. Max 90 days per request. For the next page, pass only nextPage (from the previous response). Dates: yyyy-mm-dd or ISO 8601 UTC. GET /reservation.

ParameterTypeDescription
employeeIdintegerFilter by employee id.
endstringPeriod end (inclusive). Max 90 days after start. Required unless nextPage is given.
includeAlternatebooleanInclude alternate reservations.
includeCancelledbooleanInclude cancelled reservations (default false).
limitintegerPage size (the vendor default applies when omitted).
nextPagestringThe nextPage URL from the previous response, exactly as returned. Omit it for the first page.
placeIdintegerFilter by place id (from reenio_list_resources).
resourceIdintegerFilter by resource id.
serviceIdintegerFilter by service id.
startstringPeriod start (inclusive). Required unless nextPage is given.

reenio_get_reservation Get a reservation

Get one reservation with its customer, tickets, price, paid flag, state and newStateOptions (the states it may move to). GET /reservation/{id}.

ParameterTypeDescription
id *integerReservation id.

reenio_find_reservation_by_code Find a reservation by code

Find a reservation by its reservation code, for example from a QR code at check-in. GET /reservation/detailbycode/{code}.

ParameterTypeDescription
code *stringReservation code.

reenio_get_reservations Get several reservations

Get the details of up to 100 reservations in one call. GET /reservations/{ids}.

ParameterTypeDescription
ids *arrayReservation ids.

reenio_list_customers List customers

List customers, one page at a time. For the next page, pass only nextPage. GET /customer.

ParameterTypeDescription
limitintegerPage size (the vendor default applies when omitted).
nextPagestringThe nextPage URL from the previous response, exactly as returned. Omit it for the first page.

reenio_get_customer Get a customer

Get one customer profile: contact details, address, custom fields, labels and note. GET /customer/{id}.

ParameterTypeDescription
id *integerCustomer id.

reenio_get_customer_credit Get customer credit

Get a customer's credit balance and its expiration. GET /customer/{id}/credit.

ParameterTypeDescription
id *integerCustomer id.

reenio_list_payment_documents List payment documents

List invoices and receipts whose payment was completed in a period. Max 90 days per request. For the next page, pass only nextPage. GET /paymentdocument.

ParameterTypeDescription
endstringPeriod end, yyyy-mm-dd (inclusive). Max 90 days after start. Required unless nextPage is given.
limitintegerPage size (the vendor default applies when omitted).
nextPagestringThe nextPage URL from the previous response, exactly as returned. Omit it for the first page.
startstringPeriod start, yyyy-mm-dd (inclusive). Required unless nextPage is given.

reenio_get_reservation_payment_documents Get payment documents for a reservation

List the payment documents (invoices, receipts) linked to one reservation. GET /paymentdocument/reservation/{id}.

ParameterTypeDescription
id *integerReservation id.

reenio_list_resources List places, services and employees

List the reference data that reservations use: places, services, employees, resource combinations (place + service + employee) or capacity variants (for example adult and child). Changes rarely. GET /resource/place, /resource/service, /resource/employee, /resource, /capacityvariant.

ParameterTypeDescription
kind *stringWhich reference list to return. resource = combinations that resourceId refers to.

reenio_list_blocking_times List blocked times

List the time blocks in a period when reservations are not possible (recurring blocks are expanded into occurrences). GET /blockingtimeoccurence.

ParameterTypeDescription
end *stringPeriod end.
start *stringPeriod start.

reenio_list_reviews List customer reviews

List customer reviews, one page at a time. For the next page, pass only nextPage. GET /review.

ParameterTypeDescription
limitintegerPage size (the vendor default applies when omitted).
nextPagestringThe nextPage URL from the previous response, exactly as returned. Omit it for the first page.

reenio_search_coupon_code Search a coupon code

Find a discount code by its text. Returns the code id, which reenio_redeem_coupon_code needs. GET /couponcode/search/{code}.

ParameterTypeDescription
code *stringThe discount code as the customer typed it.

reenio_set_reservation_state Change reservation state

Move a reservation to another state. Allowed states come from reenio_get_reservation (newStateOptions). Standard codes: 0 new, 1 confirmed, 2 cancelled, 3 did not take place, 4 took place, 5 no-show, 6 approved. PUT /reservation/{id}/state.

ParameterTypeDescription
id *integerReservation id.
state *integerTarget state code.

reenio_set_reservation_paid Mark reservation paid or unpaid

Set the paid flag of one reservation. PUT /reservation/{id}/ispaid.

ParameterTypeDescription
id *integerReservation id.
isPaid *booleantrue = paid, false = unpaid.

reenio_cancel_reservation Cancel a reservation

Cancel one reservation. A paid reservation cannot be cancelled (HTTP 405). PUT /reservation/{id}/cancel.

ParameterTypeDescription
id *integerReservation id.

reenio_create_blocking_time Block a time

Block a time so reservations are not possible, for example to mirror an external calendar. Give the period and at least one of placeId, serviceId, employeeId or resourceId. POST /blockingtimedefinition.

ParameterTypeDescription
end *stringBlock end, ISO 8601 UTC.
start *stringBlock start, ISO 8601 UTC.
employeeIdintegerEmployee to block.
notestringInternal note (max 500 characters).
placeIdintegerPlace to block.
resourceIdintegerResource combination to block.
serviceIdintegerService to block.

reenio_delete_blocking_time Delete a blocked time

Delete one blocked-time definition, so reservations are possible again. DELETE /blockingtimedefinition/{id}.

ParameterTypeDescription
id *integerBlocked-time definition id (from reenio_list_blocking_times).

reenio_update_customer Update customer details

Update the first name, last name, degree or note of one customer. Pass only the fields to change. PATCH /customer/{id}.

ParameterTypeDescription
id *integerCustomer id.
degreestringTitle, for example Dr.
firstNamestring
lastNamestring
notestringInternal customer note.

reenio_redeem_coupon_code Redeem a coupon code

Mark a discount code as used (check in the code). Use the code id from reenio_search_coupon_code. PUT /couponcode/{id}/checkin.

ParameterTypeDescription
couponCodeId *integerCoupon code id (from reenio_search_coupon_code).