Bookings
To Fetch Bookings
Get Bookings
GET
https://app.appointo.me/api/bookings
Fetch Bookings
Query Parameters
Name | Type | Description |
---|---|---|
limit | integer | Limit (max limit: 100. default limit: 100) |
offset | integer | Offset |
status | string |
|
booking_id | integer | to fetch single booking |
search_term | string | (Optional) Searches on product name, customer name, email, phone and order name |
Headers
Name | Type | Description |
---|---|---|
APPOINTO-TOKEN* | string | Appointo API token |
To Create New Booking
Create New Booking
POST
https://app.appointo.me/api/bookings
Create new Booking (max. 100 requests per day)
Headers
Name | Type | Description |
---|---|---|
APPOINTO-TOKEN* | string | Appointo API token |
Request Body
Name | Type | Description |
---|---|---|
appointment_id* | integer | Appointo Appointment Id |
timestring* | datetime | Timestring for timeslot (iso8601 string) |
quantity | integer | Number of bookings. Default: 1 |
email* | string | Email of the customer |
name* | string | Name of the customer |
phone | string | phone number of the customer |
Reschedule Booking
POST
https://app.appointo.me/api/bookings/reschedule
Reschedule Booking (max. 100 requests per day)
Headers
Name | Type | Description |
---|---|---|
APPOINTO-TOKEN* | string | Appointo API token |
Request Body
Name | Type | Description |
---|---|---|
booking_id* | integer | Booking Id to reschedule |
timestring* | datetime | Timestring for timeslot (iso8601 string) |
customer_ids | array | Array of customer ids to reschedule (Optional). if customer ids are not sent, it will reschedule the whole booking |
override | boolean | default: false. If true, it will forcefully reschedule for above timeslot |
Cancel Booking
POST
https://app.appointo.me/api/bookings/cancel
Cancel Booking (max. 100 requests per day)
Headers
Name | Type | Description |
---|---|---|
APPOINTO-TOKEN* | string | Appointo API token |
Request Body
Name | Type | Description |
---|---|---|
booking_id* | integer | Booking Id to reschedule |
customer_ids | array | Array of customer ids to cancel (Optional). if customer ids are not sent, it will cancel the whole booking |
Last updated