Order
Methods
-
<static> cancel(header, body)
-
POSTCancel order. Note that the returned order does not imply successful cancellation. You need to check the values oforder.details.result.cancellation.statusandno.Parameters:
Name Type Description headerYHeader HTTP request header
bodyobject HTTP request body
Properties
Name Type Description _idstring Order identifier
- Since:
-
- 1.0.0
Returns:
- Type
- cancelResponse
-
<static> search(header, body)
-
POSTSearch for ordersParameters:
Name Type Description headerYHeader HTTP request header
bodyobject HTTP request body
Properties
Name Type Argument Default Description filterOrderFilter Filter criteria
sortstring <optional>
byBookedAt Sorting method
byBookedAtSort by booking datebyBookedAtDescendingSort by booking date (descending)byCheckInDateSort by check-in datebyCheckInDateDescendingSort by check-in date (descending)
pagingPaging <optional>
Pagination info
- Since:
-
- 1.0.0
Returns:
- Type
- searchResponse
Type Definitions
-
cancelResponse
-
Type:
- object
-
searchResponse
-
Type:
- object