admin

Change a hotel booking status

post/v1/admin/bookings/{publicId}/status

Request

  • Base URL: https://api.getmyhotels.com
  • URL: https://api.getmyhotels.com/v1/admin/bookings/{publicId}/status
  • Auth: HTTP bearer

Path parameters

publicIdstring required

Request body

newStatus'pending_payment' | 'confirmed' | 'cancelled' | 'completed' | 'failed' required
reasonstring required

Response

Success

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.