Appointment Status
Last updated
curl -X POST https://my.simplespa.com/api/v1/write/appointment-status.php \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"appointment_id": "e3b0c44298fc1c149afbf4c8996fb924",
"status": 20,
"reason": "client_confirmed_via_external_system"
}'{
"success": true,
"appointment_id": "e3b0c44298fc1c149afbf4c8996fb924",
"appointment_id_raw": 12345,
"old_status": 10,
"new_status": 20,
"reason": "client_confirmed_via_external_system"
}curl -X POST https://my.simplespa.com/api/v1/write/appointment-status.php \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"appointment_id": "e3b0c44298fc1c149afbf4c8996fb924",
"status": 20,
"reason": "client_confirmed_via_external_system"
}'curl -X POST https://my.simplespa.com/api/v1/write/appointment-status.php \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"appointment_id": "e3b0c44298fc1c149afbf4c8996fb924",
"status": 15,
"reason": "cancelled_by_client"
}'