castomAPI
Odbierz klucz

Platforma · book.castomapi.com

Book

Rezerwacje i dostępność: zasoby, sloty, rezerwacje, przypomnienia i zwroty według polityki.

22 operacjiOpenAPI → castomocastomUI

Zasób ma kalendarz; klient wybiera slot; castomapi-book go trzyma, pobiera płatność przez Pay, jeśli sprzedawca tego chce, i wysyła przypomnienie. Polityki anulowania i zwrotów to dane ustawiane przez sprzedawcę, nie kod.

Każdy produkt, który potrzebuje „wybierz termin” — przychodnia, studio, konsultant, wypożyczalnia — używa tego zamiast budować to samemu.

Operacje

MetodaŚcieżkaOpis
GET/b/{id}
POST/b/{id}/cancel
GET/public/v1/bookings/{id}The booking this link is for
POST/public/v1/bookings/{id}/cancelGive the time back
GET/public/v1/calendars/{key}What a practice offers, and how to reach it
GET/public/v1/calendars/{key}/availabilityFree times, computed from the practice's hours
POST/public/v1/calendars/{key}/bookingsAsk for a time
GET/v1/calendarsEvery diary this account owns
POST/v1/calendarsOpen a diary
DELETE/v1/calendars/{id}Delete a diary and everything in it
GET/v1/calendars/{id}One diary, with its hours and visit types
PATCH/v1/calendars/{id}Change how the diary works
PUT/v1/calendars/{id}/availabilitySet the weekly opening hours
GET/v1/calendars/{id}/bookingsThe diary itself
POST/v1/calendars/{id}/bookings/{bookingId}/cancelCancel somebody's appointment, and refund it
POST/v1/calendars/{id}/exceptionsClose a day, or open an extra one
DELETE/v1/calendars/{id}/exceptions/{exceptionId}Undo a closed or extra day
DELETE/v1/calendars/{id}/feedSwitch the calendar-app link off
POST/v1/calendars/{id}/feedIssue the calendar-app link for this diary (replaces the previous one)
POST/v1/calendars/{id}/visit-typesAdd something that can be booked
DELETE/v1/calendars/{id}/visit-types/{typeId}Remove a visit type
PATCH/v1/calendars/{id}/visit-types/{typeId}Change a visit type

Adres bazowy: https://book.castomapi.com · Otwórz dokumentację na żywo

Platforma