cURL
curl --request PATCH \ --url https://api.halth.com/v1/members/{memberId}/bookings/{bookingId} \ --header 'Content-Type: application/json' \ --data ' { "serviceDate": "2023-11-07T05:31:56Z" } '
{ "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 } } }
Update an existing booking
The new service date
Show child attributes