Orders
List orders
Get a list of trip orders
get/trips/{trip_uuid}/bookings
Request
- Base URLhttps://api.wetravel.com/v2/bookings
- URLhttps://api.wetravel.com/v2/bookings/trips/{trip_uuid}/bookings
- AuthHTTP bearer
Path parameters
trip_uuidstring required
Trip Uuid
Query parameters
pageinteger
Page Number
Response
Get a list of trip orders
Example response
{
"data": [
{
"paid_amount": 200000,
"refunded_amount": 100000,
"total_amount": 100000,
"buyer_id": 1,
"departure_date": "2021-08-14T00:00:00.000Z",
"active_count": 1,
"has_bookings_with_plan": true,
"created_at": "2021-07-30T09:55:46.000Z",
"trip_package_ids": [
[
"1839359406",
"1839359407"
]
],
"buyer": {
"id": 1,
"email": "maksym+local@wetravel.com",
"full_name": "Maks Local"
}
}
],
"pagination": {
"total_count": 1,
"page": 1,
"per_page": 100,
"total_pages": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.