/
ACCESS TO CREATED BOOKINGS
ACCESS TO CREATED BOOKINGS
GET /orders and GET /ordersB2C methods
In order for a user to get a list of created bookings it is necessary to use:
B2B-access: GET /orders method
B2C-access: GET /ordersB2C method
Apart from that, it is also possible to call the method with pagination search, for instance, to show only the first 10 orders on one page. To do so it is necessary to indicate the following parameters in the method:
limit = 10
For the next page (next 10 orders):
limit = 10
offset = 10
To get access to the particular booking and its details it is necessary to call this method with the “orderId” parameter equal to the id of that particular reservation.