Bookings
To Fetch Bookings
Get Bookings
GET
https://app.appointo.me/api/bookings
Fetch Bookings
Query Parameters
Headers
[
{
"id": 969,
"selected_time": "2023-07-20T00:00:00.000Z",
"timestring": "2023-07-20",
"shop_id": 135,
"appointment_id": 299,
"created_at": "2023-07-18T16:33:17.565Z",
"updated_at": "2023-07-18T16:33:18.236Z",
"customers_count": 1,
"duration": 30,
"product_name": "T-shirt",
"variant_name": "T-shirt - s",
"order_uuid": "-",
"price": "",
"order_name": "-",
"currency": "",
"meeting_detail": "",
"note": "",
"google_meta": {},
"google_event_id": "o0sc5qt4dg70u9sghg4hmfgul8",
"location_value": null,
"location_type": null,
"location_meta": null,
"quantity": 1,
"team_member_id": null,
"scenario": "multi_day",
"day_duration": 1,
"end_date": "2023-07-20",
"start_date": "2023-07-20",
"group_id": null,
"start_buffer_time": 0,
"end_buffer_time": 0,
"category": null,
"archived": false,
"notes_count": 0,
"customers": [
{
"id": 1095,
"email": "abc@xyz.com",
"payload": {
"phone": ""
},
"name": "Mukul Chaware",
"shop_id": 135,
"appointment_id": 299,
"booking_id": 969,
"created_at": "2023-07-18T16:33:17.593Z",
"updated_at": "2023-07-18T16:33:17.593Z",
"customer_uuid": "6943848005916",
"reschedule_uuid": null,
"cancel_uuid": null,
"order_name": "-",
"order_uuid": null,
"shipping_address": {
"id": 9180953739548,
"customer_id": 6943848005916,
"first_name": "ABC",
"last_name": "TTT",
"company": null,
"address1": "ABC",
"address2": null,
"city": "Bangalore",
"province": "Karnataka",
"country": "India",
"zip": "111111",
"phone": null,
"name": "ABC TTT",
"province_code": "KA",
"country_code": "IN",
"country_name": "India",
"default": true
},
"override": false,
"signpanda_cust_uuid": null,
"parent_customer_id": null,
"is_active_sub": false,
"sub_interval": null,
"sub_booking_count": null,
"sub_booking_num": null,
"sub_recurring_type": null,
"customer_type": null,
"customer_timezone": null,
"archived": false,
"subscription_contract_id": null,
"selling_plan_id": null,
"checkin": false,
"checkin_qr_code": null,
"image_data": null
}
],
"archived_customers": [],
"appointment": {
"id": 299,
"activate": null,
"product_uuid": "gid://shopify/Product/7971637428508",
"duration_uuid": "gid://shopify/ProductVariant/43666758828316",
"shop_id": 135,
"product_detail_id": 141,
"name": "T-shirt - s",
"is_combo_service": false,
"price": "100.0",
"currency": "USD",
"description": null,
"archived": false
}
}
]
{"error_code":"invalid_api_token","message":"API token is invalid. Please check token in Appointo settings."}
To Create New Booking
Create New Booking
POST
https://app.appointo.me/api/bookings
Create new Booking (max. 100 requests per day)
Headers
Request Body
[
{
"id": 969,
"selected_time": "2023-07-20T00:00:00.000Z",
"timestring": "2023-07-20",
"shop_id": 135,
"appointment_id": 299,
"created_at": "2023-07-18T16:33:17.565Z",
"updated_at": "2023-07-18T16:33:18.236Z",
"customers_count": 1,
"duration": 30,
"product_name": "T-shirt",
"variant_name": "T-shirt - s",
"order_uuid": "-",
"price": "",
"order_name": "-",
"currency": "",
"meeting_detail": "",
"note": "",
"google_meta": {},
"google_event_id": "o0sc5qt4dg70u9sghg4hmfgul8",
"location_value": null,
"location_type": null,
"location_meta": null,
"quantity": 1,
"team_member_id": null,
"scenario": "multi_day",
"day_duration": 1,
"end_date": "2023-07-20",
"start_date": "2023-07-20",
"group_id": null,
"start_buffer_time": 0,
"end_buffer_time": 0,
"category": null,
"archived": false,
"notes_count": 0,
"customers": [
{
"id": 1095,
"email": "abc@xyz.com",
"payload": {
"phone": ""
},
"name": "Mukul Chaware",
"shop_id": 135,
"appointment_id": 299,
"booking_id": 969,
"created_at": "2023-07-18T16:33:17.593Z",
"updated_at": "2023-07-18T16:33:17.593Z",
"customer_uuid": "6943848005916",
"reschedule_uuid": null,
"cancel_uuid": null,
"order_name": "-",
"order_uuid": null,
"shipping_address": {
"id": 9180953739548,
"customer_id": 6943848005916,
"first_name": "ABC",
"last_name": "TTT",
"company": null,
"address1": "ABC",
"address2": null,
"city": "Bangalore",
"province": "Karnataka",
"country": "India",
"zip": "111111",
"phone": null,
"name": "ABC TTT",
"province_code": "KA",
"country_code": "IN",
"country_name": "India",
"default": true
},
"override": false,
"signpanda_cust_uuid": null,
"parent_customer_id": null,
"is_active_sub": false,
"sub_interval": null,
"sub_booking_count": null,
"sub_booking_num": null,
"sub_recurring_type": null,
"customer_type": null,
"customer_timezone": null,
"archived": false,
"subscription_contract_id": null,
"selling_plan_id": null,
"checkin": false,
"checkin_qr_code": null,
"image_data": null
}
],
"archived_customers": [],
"appointment": {
"id": 299,
"activate": null,
"product_uuid": "gid://shopify/Product/7971637428508",
"duration_uuid": "gid://shopify/ProductVariant/43666758828316",
"shop_id": 135,
"product_detail_id": 141,
"name": "T-shirt - s",
"is_combo_service": false,
"price": "100.0",
"currency": "USD",
"description": null,
"archived": false
}
}
]
{"error_code":"invalid_api_token","message":"API token is invalid. Please check token in Appointo settings."}
{
// Response
}
Reschedule Booking
POST
https://app.appointo.me/api/bookings/reschedule
Reschedule Booking (max. 100 requests per day)
Headers
Request Body
{
response: {
status: "ok",
booking: {
....
}
}
}
Cancel Booking
POST
https://app.appointo.me/api/bookings/cancel
Cancel Booking (max. 100 requests per day)
Headers
Request Body
{
response: {
status: "ok",
booking: {
....
}
}
}
Last updated