{
  "info": {
    "name": "Trawish · Odaduu API v1",
    "description": "Bearer-token HTTP API for B2B partners. Set the `odaduu_key` collection variable to your `odaduu_live_...` secret and every request auto-authenticates.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://builder.trawish.com/api/public/v1",
      "type": "string"
    },
    {
      "key": "odaduu_key",
      "value": "odaduu_live_REPLACE_ME",
      "type": "string"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      { "key": "token", "value": "{{odaduu_key}}", "type": "string" }
    ]
  },
  "item": [
    {
      "name": "Health",
      "item": [
        {
          "name": "GET /health",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/health",
              "host": ["{{base_url}}"],
              "path": ["health"]
            },
            "description": "Verifies your key and echoes the tenant it resolves to."
          }
        }
      ]
    },
    {
      "name": "Bookings",
      "item": [
        {
          "name": "GET /bookings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/bookings?limit=10&status=quote_sent",
              "host": ["{{base_url}}"],
              "path": ["bookings"],
              "query": [
                { "key": "limit", "value": "10" },
                { "key": "status", "value": "quote_sent" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        },
        {
          "name": "GET /bookings/:id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/bookings/:id",
              "host": ["{{base_url}}"],
              "path": ["bookings", ":id"],
              "variable": [{ "key": "id", "value": "cmtl0q9b20004j39gdw0wk6q7" }]
            }
          }
        },
        {
          "name": "POST /quotes",
          "request": {
            "method": "POST",
            "header": [
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"destinationCode\": \"JP\",\n  \"guestName\": \"Mr. Sharma\",\n  \"arrivalDate\": \"2026-11-05\",\n  \"departureDate\": \"2026-11-14\",\n  \"pax\": { \"adults\": 2, \"children\": 1, \"infants\": 0 },\n  \"childAges\": [8],\n  \"leadSource\": \"EMAIL\",\n  \"agentRequirements\": \"Vegetarian meals\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/quotes",
              "host": ["{{base_url}}"],
              "path": ["quotes"]
            }
          }
        }
      ]
    },
    {
      "name": "Reference",
      "item": [
        {
          "name": "GET /destinations",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/destinations",
              "host": ["{{base_url}}"],
              "path": ["destinations"]
            }
          }
        },
        {
          "name": "GET /hotels",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/hotels?city=Tokyo&limit=10",
              "host": ["{{base_url}}"],
              "path": ["hotels"],
              "query": [
                { "key": "city", "value": "Tokyo" },
                { "key": "limit", "value": "10" },
                { "key": "q", "value": "", "disabled": true }
              ]
            }
          }
        },
        {
          "name": "GET /sightseeings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sightseeings?city=Kyoto&category=PAID",
              "host": ["{{base_url}}"],
              "path": ["sightseeings"],
              "query": [
                { "key": "city", "value": "Kyoto" },
                { "key": "category", "value": "PAID" },
                { "key": "kind", "value": "", "disabled": true },
                { "key": "q", "value": "", "disabled": true }
              ]
            }
          }
        },
        {
          "name": "GET /fullday-tours",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/fullday-tours?city=Hiroshima",
              "host": ["{{base_url}}"],
              "path": ["fullday-tours"],
              "query": [
                { "key": "city", "value": "Hiroshima" },
                { "key": "q", "value": "", "disabled": true }
              ]
            }
          }
        }
      ]
    }
  ]
}
