{"info":{"name":"iQuota API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"Docs: https://iquota.io/developers · OpenAPI: https://iquota.io/openapi.json"},"variable":[{"key":"baseUrl","value":"https://iquota.io"},{"key":"apiKey","value":"sbx_..."},{"key":"rateKey","value":""},{"key":"locator","value":""},{"key":"propertyCode","value":""}],"item":[{"name":"1. Status","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/status","host":["{{baseUrl}}"],"path":["api","v1","status"]}}},{"name":"2. Properties (content)","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/properties?page=1&page_size=100","host":["{{baseUrl}}"],"path":["api","v1","properties"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"100"}]}}},{"name":"3. Availability","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/availability","host":["{{baseUrl}}"],"path":["api","v1","availability"]},"body":{"mode":"raw","raw":"{\n  \"destination\": \"Sevilla\",\n  \"checkin\": \"2027-05-10\",\n  \"checkout\": \"2027-05-12\",\n  \"occupancy\": {\n    \"rooms\": 1,\n    \"adults\": 2,\n    \"children_ages\": []\n  },\n  \"currency\": \"EUR\"\n}"}}},{"name":"4. Quote","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/quote","host":["{{baseUrl}}"],"path":["api","v1","quote"]},"body":{"mode":"raw","raw":"{\n  \"rate_key\": \"{{rateKey}}\"\n}"}}},{"name":"5. Book","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/bookings","host":["{{baseUrl}}"],"path":["api","v1","bookings"]},"body":{"mode":"raw","raw":"{\n  \"rate_key\": \"{{rateKey}}\",\n  \"client_reference\": \"MY-REF-001\",\n  \"holder\": {\n    \"name\": \"Ana Test\",\n    \"email\": \"ana@example.com\",\n    \"phone\": \"+34600000000\"\n  }\n}"}}},{"name":"6. Get booking","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/bookings/{{locator}}","host":["{{baseUrl}}"],"path":["api","v1","bookings","{{locator}}"]}}},{"name":"7. Cancel (simulate)","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/bookings/{{locator}}/cancel?simulate=true","host":["{{baseUrl}}"],"path":["api","v1","bookings","{{locator}}","cancel"],"query":[{"key":"simulate","value":"true"}]}}},{"name":"8. Cancel","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/bookings/{{locator}}/cancel","host":["{{baseUrl}}"],"path":["api","v1","bookings","{{locator}}","cancel"]}}},{"name":"9. ARI (cache)","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/ari?property_code={{propertyCode}}&from=2027-05-01&to=2027-05-31","host":["{{baseUrl}}"],"path":["api","v1","ari"],"query":[{"key":"property_code","value":"{{propertyCode}}"},{"key":"from","value":"2027-05-01"},{"key":"to","value":"2027-05-31"}]}}},{"name":"10. Register webhook","request":{"method":"PUT","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/webhook","host":["{{baseUrl}}"],"path":["api","v1","webhook"]},"body":{"mode":"raw","raw":"{\n  \"url\": \"https://example.com/iquota-webhook\"\n}"}}},{"name":"11. Test webhook","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/webhook/test","host":["{{baseUrl}}"],"path":["api","v1","webhook","test"]}}}]}