{
  "info": {
    "name": "Tripgic API · Meet & greet",
    "description": "Airport assistance on arrival and departure.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Booking flow",
      "item": [
        {
          "name": "Search Meet & Greet services",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "apikey",
                "value": "{{apikey}}",
                "type": "text"
              },
              {
                "key": "secretecode",
                "value": "{{secretecode}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/meet-and-greet/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "meet-and-greet",
                "search"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"meetAndGreet\": {\n    \"airport\": \"DXB\"\n  },\n  \"supplier_uid\": \"all\",\n  \"partner_id\": \"1\",\n  \"short_ref\": \"xxxx111\",\n  \"language\": \"en\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Returns Meet & Greet services available at an airport. Send supplier_uid \"all\" to search every supplier."
          },
          "response": []
        },
        {
          "name": "Get Meet & Greet service details",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "apikey",
                "value": "{{apikey}}",
                "type": "text"
              },
              {
                "key": "secretecode",
                "value": "{{secretecode}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/meet-and-greet/single-search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "meet-and-greet",
                "single-search"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tracking_id\": \"11784720361JMN1\",\n  \"service_id\": \"X1ZK00057||f1103a99-337e-0b39-b225-17b6c17c2ea8\",\n  \"adult_count\": 1,\n  \"child_count\": 0,\n  \"infant_count\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Loads one service from a search result and prices it for the given passenger counts."
          },
          "response": []
        },
        {
          "name": "Get meet and greet checkout validation status",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "apikey",
                "value": "{{apikey}}",
                "type": "text"
              },
              {
                "key": "secretecode",
                "value": "{{secretecode}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/meet-and-greet/validation-get-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "meet-and-greet",
                "validation-get-status"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"booking_tracking_id\": \"11178902162088132JZAAP\",\n  \"member_id\": \"1\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Called on the checkout page after the single-item step has already run. Returns the validated booking state for a booking tracking id. Do not call the single-item step again at checkout (it creates a second booking). b2b reads the service from `data` and shows `reason` when status is not success."
          },
          "response": []
        },
        {
          "name": "Update traveller details",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "apikey",
                "value": "{{apikey}}",
                "type": "text"
              },
              {
                "key": "secretecode",
                "value": "{{secretecode}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/meet-and-greet/update-traveller",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "meet-and-greet",
                "update-traveller"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"booking_tracking_id\": \"1117847277738812594MUS\",\n  \"member_id\": \"2\",\n  \"save_pax\": \"yes\",\n  \"passenger\": [\n    {\n      \"pax_id\": \"1\",\n      \"item_uid\": \"1\",\n      \"pax_type\": \"ADT\",\n      \"title\": \"MR\",\n      \"first_name\": \"Imam\",\n      \"last_name\": \"Hasan\",\n      \"age\": \"30\",\n      \"nationality\": \"US\",\n      \"isd_code\": \"880\",\n      \"contact_no\": \"1966330000\",\n      \"email_address\": \"imam@example.com\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Saves passenger details against the booking tracking ID created by the details step."
          },
          "response": []
        },
        {
          "name": "Create Meet & Greet booking",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "apikey",
                "value": "{{apikey}}",
                "type": "text"
              },
              {
                "key": "secretecode",
                "value": "{{secretecode}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/meet-and-greet/create-booking",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "meet-and-greet",
                "create-booking"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"booking_tracking_id\": \"1117847277738812594MUS\",\n  \"service_tracking_id\": \"1117847277738812594MUS||f1103a99-337e-0b39-b225-17b6c17c2ea8\",\n  \"member_id\": \"2\",\n  \"redirect_url\": \"https://jerry.exampledemo.com/inno-travel-tech/custom_modal.html\",\n  \"payment_type\": \"account_balance\",\n  \"isd_code\": \"880\",\n  \"contact_no\": \"1966330000\",\n  \"email_address\": \"examplemail.com\",\n  \"agency_email\": \"examplemail.com\",\n  \"flight_number\": \"ASDFAS\",\n  \"booking_date\": \"2026-12-15\",\n  \"booking_time\": \"08:00:00\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Confirms the booking using the booking tracking ID, payment type, contact details and flight date and time."
          },
          "response": []
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://serviceapi.tripgic.com"
    }
  ]
}