cURL
curl --request POST \ --url https://api.halth.com/v1/members/{memberId}/bookings/{bookingId}/cancel
{ "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "status": "<string>", "serviceDate": "2023-11-07T05:31:56Z", "paid": true, "organisation": { "id": "<string>", "name": "<string>", "brandImageUrl": "<string>" }, "location": { "id": "<string>", "address": {} }, "provider": { "id": "<string>", "firstName": "<string>", "lastName": "<string>", "profileImageUrl": "<string>" }, "appointmentType": { "id": "<string>", "name": "<string>", "durationMinutes": 123 }, "servicePrice": 123, "cancellationPolicy": { "enabled": true, "rules": { "clientCancel": { "enabled": true, "reason": "booking_paid" }, "clientReschedule": { "enabled": true, "reason": "booking_paid" } }, "fee": { "amount": 123, "freeCancellationHours": 123, "latestNoFeeAt": "2023-11-07T05:31:56Z", "billable": true, "percent": 123 } } }
Cancel a booking
Show child attributes