{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"39320e2a-10ac-44e2-97be-ccac7dcff180","name":"Reserva Reseller","description":"# Authentication\n\nSet the AUTHORIZATION header to \"Api TOKEN\" where TOKEN is the api token assigned to your user.\n\nYou can generate a key by logging in to staging.reserva.is and clicking Api Keys under your user main menu.\n\n# Getting Started: Step-by-Step Guide\n\n### Step 1: Setup and Authentication\n\nTo begin, import the provided Postman collection. Ensure your development environment has necessary authentication details, like the API key, to seamlessly communicate with the API.\n\nThe Api Keys are managed under the Api Keys main menu item\n\n<img src=\"https://content.pstmn.io/ee9f7c54-a5bc-4976-9912-3946dc7ba399/U2NyZWVuc2hvdCAyMDIzLTEwLTA5IGF0IDEyLjM3LjE5LnBuZw==\" width=\"184\" height=\"230\">\n\nAfter an Api Key is created it needs to be placed in the 'AUTHORIZATION' header for every request made to the API service.\n\n### Next Steps: Choosing Between Accommodations or Vehicles Integration\n\nFor your subsequent integration steps, please refer to either the Accommodations or Vehicles sections, depending on whether your focus is on integrating accommodations or vehicles respectively.\n\n# Pagination\n\nMost List API endpoints at Reserva by default returns only first 10 elements. To get more elements you should implement Pagination traversing logic. To work with pagination, use next arguments:\n\n`GET` [https://api-staging.reserva.is/api/v1/{resource}?pagination[page]={X}&amp;pagination[limit]={Y}](https://api-staging.reserva.is/api/v1/%7Bresource%7D?pagination%5Bpage%5D=%7BX%7D&pagination%5Blimit%5D=%7BY%7D)\n\nWhere `resource` is requested endpoint, X - number of requested page, Y - count of elements at response.\n\nPlease, keep in mind, `page` counted from 1. Max `limit` value is 100.\n\nTo control how much elements associated with current account, you can use `meta` section from response:\n\n``` json\n...\n\"meta\": {\n  \"limit\": 10,\n  \"page\": 1,\n  \"total\": 4\n}\n...\n\n ```\n\n# Filtering data arguments\n\nSome API endpoints in Reserva supports filtering data arguments. Our filtering API provide operations to comparison and inclusion checks.\n\n## Basic Concept\n\nFiltering arguments are passed as regular GET arguments in the query string under the filter prefix. Each field should be wrapped into square brackets: filter\\[field\\]. To pass list of possible values, use comma symbol: filter\\[field\\]=value1,value2.\n\nBy default symbol = mean comparison operator is equal if single value passed or is includes if list of values passed. But you can use other operators, like greater then or less then by passing it as second argument for filter: filter\\[field\\]\\[gte\\]=value or filter\\[field\\]\\[lte\\]=value. You can use more then one comparison operator for one field, to build conditions like DATE greater then 2019-01-01 and less then 2019-02-01.\n\n## Supported comparison operators\n\n- gt (greater than)\n- gte (greater than or equal)\n- lt (less than)\n- lte (less than or equal)\n- eq (equal to) default operation if you pass value after symbol\n- not (not equal to)\n    \n\n## Examples\n\n#### Basic Comparison\n\nField equal provided value.  \nAPI_ENDPOINT/?filter\\[property_id\\]=PROPERTY_ID\n\n#### Multiple values\n\nField should be equal to at least one values from provided list.  \nAPI_ENDPOINT/?filter\\[property_id\\]=PROPERTY_ID1,PROPERTY_ID2\n\n#### Multiple fields\n\nPass several filter arguments.  \nAPI_ENDPOINT/?filter\\[property_id\\]=PROEPRTY_ID&filter\\[room_type_id\\]=ROOM_TYPE_ID\n\n#### Comparison operations\n\nUse greater then and less then comparison operations  \nAPI_ENDPOINT/?filter\\[date\\]\\[gte\\]=DATE_FROM&filter\\[date\\]\\[lte\\]=DATE_TO\n\n# Rate Limit\n\nReserva has a 10 requests per minute rate limit to Create, cancel and update guests information. This means that within 1 minute you can for example create 4 bookings, cancel 3 bookings and update guest information for 3 bookings.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"4290559","team":1730902,"collectionId":"39320e2a-10ac-44e2-97be-ccac7dcff180","publishedId":"VUjQn4iC","public":true,"publicUrl":"https://reseller-docs.reserva.is","privateUrl":"https://go.postman.co/documentation/4290559-39320e2a-10ac-44e2-97be-ccac7dcff180","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2022-10-26T13:33:40.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"reserva reseller api","id":"652eeb12-db34-438f-be31-d55c1206515c","owner":"4290559","values":[{"key":"property-id","value":"0e6ad875-40e4-4c3c-8d0c-86b333352bf5","enabled":true,"type":"default"},{"key":"reservation-arrival-date","value":"2024-02-09","enabled":true,"type":"default"},{"key":"reservation-departure-date","value":"2024-02-11","enabled":true,"type":"default"},{"key":"api-url","value":"https://api-staging.reserva.is/api/v2","enabled":true,"type":"default"},{"key":"api-url-v3","value":"https://api-staging.reserva.is/api/v3","enabled":true,"type":"default"},{"key":"api-token","value":"","enabled":true,"type":"default"},{"key":"channel-id","value":"d66c14e5-28aa-4281-a9ff-620ea882d2ce","enabled":true,"type":"default"},{"key":"rate-plan-code","value":"","enabled":true,"type":"default"},{"key":"room-type-code","value":"","enabled":true,"type":"default"},{"key":"vehicle-channel-id","value":"a3935448-0e55-412a-a589-b3f106a7f888","enabled":true,"type":"default"},{"key":"vehicle-plan-code","value":"","enabled":true,"type":"default"},{"key":"accommodation-contract-id","value":"","enabled":true,"type":"default"},{"key":"vehicle-contract-id","value":"","enabled":true,"type":"default"},{"key":"contract-id","value":"","enabled":true,"type":"default"},{"key":"hotel-name","value":"","enabled":true,"type":"default"},{"key":"reservation-id","value":"RSARMPgH7J9R4","enabled":true,"type":"any"},{"key":"vehicle-reservation-id","value":"RSARMPgH7J9R4","enabled":true,"type":"any"},{"key":"pickup_time","value":"14:00","enabled":true,"type":"default"},{"key":"dropoff_time","value":"13:00","enabled":true,"type":"default"},{"key":"query_id","value":"","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/272c2ac832bc880aea7231167f74801a66565728d89ef9297ffd754ddddfa03f","favicon":"https://reserva.is/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"reserva reseller api","value":"4290559-652eeb12-db34-438f-be31-d55c1206515c"}],"canonicalUrl":"https://reseller-docs.reserva.is/view/metadata/VUjQn4iC"}