v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Orders

List orders

Get a list of trip orders

get/trips/{trip_uuid}/bookings

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": {
        "email": "john+doe@wetravel.com",
        "first_name": "John",
        "last_name": "Doe"
      }
    }
  ],
  "pagination": {
    "total_count": 1,
    "page": 1,
    "per_page": 20,
    "total_pages": 1
  }
}