deleteRoom

public final Void deleteRoom(String customerIp, String itineraryId, String roomId, String token, String customerSessionId, String test)
public final Void deleteRoom(String customerIp, String itineraryId, String roomId, String token, String customerSessionId)
public final Void deleteRoom(String customerIp, String itineraryId, String roomId, String token)

Cancel a room. This link will be available in the retrieve response.

Return

Nothing

Parameters

customerIp

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

itineraryId

This parameter is used only to prefix the token value - no ID value is used.

roomId

Room ID of a property.

token

Provided as part of the link object and used to maintain state across calls. This simplifies each subsequent call by limiting the amount of information required at each step and reduces the potential for errors. Token values cannot be viewed or changed.

customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session. (optional)

test

The cancel call has a test header that can be used to return set responses with the following keywords:
* standard - Requires valid test booking. * service_unavailable * unknown_internal_error * post_stay_cancel (optional)

Throws