Guest Update
title: Guests Update Endpoint | Hostel Mate API Usage Guide description: Partially update an existing guestβs profileβcontact details, address, and preferences. Send only changed fields; validation prevents conflicts. layout: width: default title: visible: true description: visible: false tableOfContents: visible: true outline: visible: true pagination: visible: true metadata: visible: true
Guests Update
Update a Guest
PATCH /api/v1/client/guests/{guestId}curl "/api/v1/client/guests/f1b2c3d4-5678-49ab-9cde-112233445566" \
-X PATCH \
-H "accept: application/json" \
-H "content-type: application/json" \
-H "origin: https://docs.hostelmate.co" \
--data-raw '{
"guest": {
"phone": "+971501234567",
"address": {
"line1": "Downtown Dubai",
"city": "Dubai",
"postal_code": "12345",
"country_code": "AE"
},
"preferences": {
"language": "ar",
"newsletter": false,
"marketing": true
}
}
}'Field
Type
Description
Field
Type
Description
Field
Type
Description
Field
Type
Description
HTTP
Code
Description
Last updated