Booking Update
Update a Booking
Endpoint
PATCH /api/v1/client/bookings/{bookingId}Example curl
curlcurl "/api/v1/client/bookings/e7b7f6bb-6c0c-4e2c-9b3e-9c6f2a1c0a77" \
-X PATCH \
-H "accept: application/json" \
-H "content-type: application/json" \
-H "origin: https://docs.hostelmate.co" \
--data-raw '{
"booking": {
"dates": [
{ "date": "2025-12-19", "amount": 260 },
{ "date": "2025-12-20", "amount": 260 }
]
},
}'Request Payload
Field
Type
Description
Field
Type
Description
Field
Type
Description
Response (200 OK)
Validation Rules
Error Codes
HTTP
Code
Description
Last updated