{
  "info": {
    "name": "SES.Hospedajes API (v1.0.2)",
    "_postman_id": "ses-dev-20250826",
    "description": "Colección básica para pruebas con API Key.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "GET /v1/establishments",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          }
        ],
        "url": "https://tudominio.com/api/v1/establishments"
      }
    },
    {
      "name": "GET /v1/guests",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          }
        ],
        "url": "https://tudominio.com/api/v1/guests"
      }
    },
    {
      "name": "POST /v1/guests",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "https://tudominio.com/api/v1/guests",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"nombre\": \"Ana\",\n  \"apellidos\": \"López\",\n  \"documento\": \"98765432Z\",\n  \"establecimiento_id\": 1\n}"
        }
      }
    },
    {
      "name": "GET /v1/rentals",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          }
        ],
        "url": "https://tudominio.com/api/v1/rentals"
      }
    },
    {
      "name": "POST /v1/rentals",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "https://tudominio.com/api/v1/rentals",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"referencia\": \"REF-002\",\n  \"fecha_entrada\": \"2025-09-10 15:00:00\",\n  \"fecha_salida\": \"2025-09-12 11:00:00\",\n  \"establecimiento_id\": 1\n}"
        }
      }
    },
    {
      "name": "POST /v1/precheckins",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-Api-Key",
            "value": "{{API_KEY}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "https://tudominio.com/api/v1/precheckins",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"establecimiento_id\": 1\n}"
        }
      }
    }
  ],
  "variable": [
    {
      "key": "API_KEY",
      "value": "pk_test_123456789abcdef"
    }
  ]
}