{
  "info": {
    "name": "TransfersManager Network API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-API-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{api_key}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.transfersmanager.ai"
    },
    {
      "key": "api_key",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Who this key is",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/me",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "me"
          ]
        }
      }
    },
    {
      "name": "Where there is real supply",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/coverage",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "coverage"
          ]
        }
      }
    },
    {
      "name": "Quote a transfer",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/quotes",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "quotes"
          ]
        }
      }
    },
    {
      "name": "A flight by number and date",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/flights/:flight_number",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "flights",
            ":flight_number"
          ]
        }
      }
    },
    {
      "name": "When to book the pickup for a flight",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/pickup-suggestion",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "pickup-suggestion"
          ]
        }
      }
    },
    {
      "name": "Book a quote",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/bookings",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "bookings"
          ]
        }
      }
    },
    {
      "name": "One booking",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/bookings/:ref",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "bookings",
            ":ref"
          ]
        }
      }
    },
    {
      "name": "A booking's details, to print",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/bookings/:ref/voucher",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "bookings",
            ":ref",
            "voucher"
          ]
        }
      }
    },
    {
      "name": "Cancel a booking",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/bookings/:ref/cancel",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "bookings",
            ":ref",
            "cancel"
          ]
        }
      }
    },
    {
      "name": "Play a scenario on a test booking",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/test/bookings/:ref/scenario",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "test",
            "bookings",
            ":ref",
            "scenario"
          ]
        }
      }
    },
    {
      "name": "What happened to a test booking",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/api/v1/channel-api/test/bookings/:ref/events",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "api",
            "v1",
            "channel-api",
            "test",
            "bookings",
            ":ref",
            "events"
          ]
        }
      }
    }
  ]
}
