Cancel Reservation Run in API Explorer
Ask AI
API which will do the cancellation of the given reservation.
POST
/v1/reservation/cancel
curl \
--request POST 'https://partner.momorooms.com/v1/reservation/cancel' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reservationId":42,"cancelReason":"string"}'
Request examples
{
"reservationId": 42,
"cancelReason": "string"
}
Response examples (200)
{
"cancelStatus": "string",
"currencyCode": "string",
"refundAmount": "string"
}
Response examples (400)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}
Response examples (500)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}