{"info":{"_postman_id":"f86760ee-4c5c-42f4-a9b8-408693506a3e","name":"PriceLabs API","description":"<html><head></head><body><p>Use the APIs in this collection to interact with PriceLabs</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"507656","collectionId":"f86760ee-4c5c-42f4-a9b8-408693506a3e","publishedId":"SVSEurQC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-26T20:24:43.000Z"},"item":[{"name":"all listings","id":"34bfdfe5-33fb-486b-baeb-99ff24ed02f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"}],"url":"https://api.pricelabs.co/v1/listings","urlObject":{"protocol":"https","path":["v1","listings"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"67c1699a-c9bd-4b7d-a10b-3015cb525527","name":"Fetch all listings","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"}],"url":"https://api.pricelabs.co/v1/listings"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"listings\": [\n        {\n            \"id\": \"2854562\",\n            \"pms\": \"airbnb\",\n            \"name\": \"Airbnb apartment 1\",\n            \"min\": 900,\n            \"base\": 1000,\n            \"max\": 1500\n        },\n        {\n            \"id\": \"2590637\",\n            \"pms\": \"airbnb\",\n            \"name\": \"Airbnb apartment 2\",\n            \"min\": null,\n            \"base\": null,\n            \"max\": null\n        }\n    ]\n}"}],"_postman_id":"34bfdfe5-33fb-486b-baeb-99ff24ed02f2"},{"name":"listing","id":"2ff8ae3f-ed52-4dfb-911d-982ad3280df3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"}],"url":"https://api.pricelabs.co/v1/listings/2854562","urlObject":{"protocol":"https","path":["v1","listings","2854562"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"0c4711b1-e724-4f63-ab80-af6246c0bf1a","name":"Fetch listing","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"}],"url":"https://api.pricelabs.co/v1/listings/2854562"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"listings\": [\n        {\n            \"id\": \"2854562\",\n            \"pms\": \"airbnb\",\n            \"name\": \"Airbnb apartment 1\",\n            \"min\": 900,\n            \"base\": 1000,\n            \"max\": 1500,\n            \"push_enabled\": false,\n            \"health_7_day\": \"100\",\n            \"health_30_day\": \"100\",\n            \"health_60_day\": \"100\",\n            \"last_date_pushed\": \"2021-04-18T00:56:11.000Z\"\n        }\n    ]\n}"}],"_postman_id":"2ff8ae3f-ed52-4dfb-911d-982ad3280df3"},{"name":"update listings","id":"472c25c4-37c4-4e98-a589-6244e0a2523c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"listings\": [\n        {\n            \"id\": \"2854562\",\n            \"pms\": \"airbnb\",\n            \"min\": 899\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listings","description":"<p>You can either update a listing or a group of listings.</p>\n<h4 id=\"required-parameters\">Required parameters:</h4>\n<p>(In case of <code>min</code>, <code>base</code> and <code>max</code> you can send all three, or any two or any one among the three)</p>\n<ul>\n<li><code>id</code>: Listing ID</li>\n<li><code>pms</code>: PMS name of the listing</li>\n<li><code>min</code>: Min price of the listing</li>\n<li><code>base</code>: Base price of the listing</li>\n<li><code>max</code>: Max price of the listing</li>\n</ul>\n<h4 id=\"response-codes\">Response Codes:</h4>\n<ul>\n<li>200: Parameters were updated</li>\n<li>400: Invalid listing <code>id</code> or <code>pms</code> name; please check your request</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","listings"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"ca6a72df-32ab-4038-bad1-7d938f4c403e","name":"update listings","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"listings\": [\n        {\n            \"id\": \"2854562\",\n            \"pms\": \"airbnb\",\n            \"min\": 900,\n            \"base\": 1200,\n            \"max\": 1500\n        },\n        {\n            \"id\": \"2590637\",\n            \"pms\": \"rentalsunited\",\n            \"min\": 800,\n            \"base\": 1300,\n            \"max\": 1800\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 10 Nov 2018 03:27:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Status","value":"200 OK"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"7b50ffc2feb4b141dd5fa9ab4d1da33e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"321b0732-466f-413f-b23a-067f7e787719"},{"key":"X-Runtime","value":"0.048499"},{"key":"Strict-Transport-Security","value":"max-age=31536000;"},{"key":"Age","value":"1"},{"key":"Via","value":"http/1.1 api-umbrella (ApacheTrafficServer [cMsSf ])"},{"key":"X-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"listings\": [\n        {\n            \"id\": \"2854562\",\n            \"min\": 900,\n            \"base\": 1200,\n            \"max\": 1500\n        },\n        {\n            \"id\": \"2590637\",\n            \"min\": 800,\n            \"base\": 1300,\n            \"max\": 1800\n        }\n    ]\n}"}],"_postman_id":"472c25c4-37c4-4e98-a589-6244e0a2523c"},{"name":"listing date level overrides","id":"69159a64-c8fb-4fa3-842b-ce81d3c6e899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"}],"url":"https://api.pricelabs.co/v1/listings/2854562/overrides?pms=airbnb","description":"<p>Use this API to get your listing's date level overrides</p>\n<h4 id=\"required-parameters\">Required parameters:</h4>\n<ul>\n<li><code>id</code>: Listing ID in the URL</li>\n<li><code>pms</code>: PMS name of the listing as a parameter</li>\n</ul>\n<h4 id=\"response-codes\">Response Codes:</h4>\n<ul>\n<li>200: Request returned successfully</li>\n<li>400: Invalid listing <code>id</code> or <code>pms</code> name; please check your request</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","listings","2854562","overrides"],"host":["api","pricelabs","co"],"query":[{"key":"pms","value":"airbnb"}],"variable":[]}},"response":[{"id":"06527daf-d952-4552-b7f8-eb84557aac10","name":"listing date level overrides","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"}],"url":{"raw":"https://api.pricelabs.co/v1/listings/2854562/overrides?pms=airbnb","protocol":"https","host":["api","pricelabs","co"],"path":["v1","listings","2854562","overrides"],"query":[{"key":"pms","value":"airbnb"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 10 Nov 2018 04:46:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Status","value":"200 OK"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"b47718cf4586d71392eade22200b4f0c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"c709e935-df8d-4467-b10f-e6b615d0e7cb"},{"key":"X-Runtime","value":"0.205981"},{"key":"Strict-Transport-Security","value":"max-age=31536000;"},{"key":"Age","value":"0"},{"key":"Via","value":"http/1.1 api-umbrella (ApacheTrafficServer [cMsSf ])"},{"key":"X-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"overrides\": [\n        {\n            \"date\": \"2018-11-10\",\n            \"price\": \"250\",\n            \"price_type\": \"percent\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-11-12\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-11-13\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-11-14\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-11-19\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10,\n            \"min_price\": 200,\n            \"min_price_type\": \"fixed\"\n        },\n        {\n            \"date\": \"2018-11-20\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10,\n            \"min_price\": 200,\n            \"min_price_type\": \"fixed\"\n        },\n        {\n            \"date\": \"2018-11-21\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10,\n            \"min_price\": 200,\n            \"min_price_type\": \"fixed\"\n        },\n        {\n            \"date\": \"2018-12-01\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-02\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-03\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-04\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-05\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-06\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-07\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-08\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-09\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-10\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-11\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-12\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-13\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-14\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-15\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-16\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-17\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-18\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-19\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-20\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-21\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-22\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-23\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-24\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-25\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-26\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-27\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-28\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-29\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-30\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        },\n        {\n            \"date\": \"2018-12-31\",\n            \"price\": \"\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 0,\n            \"min_price\": null\n        }\n    ]\n}"}],"_postman_id":"69159a64-c8fb-4fa3-842b-ce81d3c6e899"},{"name":"listing date level overrides","id":"4cb5dfc4-187f-4814-ab69-ab04d4b09b11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"airbnb\",\n    \"overrides\": [\n        {\n            \"date\": \"2018-11-10\",\n            \"price\": \"250\",\n            \"price_type\": \"percent\"\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"base_price\": \"200\",\n            \"currency\": \"EUR\"\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listings/2854562/overrides","description":"<p>Use this API to update a date level override. Following conditions are to be <strong>followed strictly</strong> before you send the data to update</p>\n<h4 id=\"rules\">Rules:</h4>\n<ol>\n<li>When updating <strong><code>price</code></strong> object make sure the <code>price_type</code> is one of the two (<code>fixed</code> or <code>percent</code>). If there is anything other than these two options then the update for price will be ignored.<ul>\n<li>When sending <code>price_type</code> as <code>fixed</code> make sure currency is exactly what you have in your PMS. If currency is different between date leverl override and  listing, your update will result in erroneous data.</li>\n</ul>\n</li>\n<li>When updating <strong><code>min_stay</code></strong> send an integer greater than 0.</li>\n<li>When updating <strong><code>min_price</code></strong> object make sure the <code>min_price_type</code> is <code>fixed</code> or else update will result in erroneous data.<ul>\n<li>When sending <code>min_price_type</code> as <code>fixed</code> make sure currency is exactly what you have in your PMS.</li>\n</ul>\n</li>\n</ol>\n<h4 id=\"response\">Response:</h4>\n<p>Response will contain data for each date that was updated, if something was erroneous then the response will not have that object</p>\n","urlObject":{"protocol":"https","path":["v1","listings","2854562","overrides"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"56025137-d749-4dc1-bd01-91e160092ad2","name":"listing date level overrides","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"airbnb\",\n    \"overrides\": [\n        {\n            \"date\": \"2018-11-10\",\n            \"price\": \"250\",\n            \"price_type\": \"percent\"\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10\n        },\n        {\n            \"date\": \"2018-11-12\",\n            \"min_price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_price\": 10\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"base_price\": \"200\",\n            \"currency\": \"EUR\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/listings/2854562/overrides"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 10 Nov 2018 04:46:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Status","value":"200 OK"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"3327b679f6575cd9cfb243355aea13cd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0389f7ef-24af-4a44-90f1-f0aa32e5ceca"},{"key":"X-Runtime","value":"0.184497"},{"key":"Strict-Transport-Security","value":"max-age=31536000;"},{"key":"Age","value":"0"},{"key":"Via","value":"http/1.1 api-umbrella (ApacheTrafficServer [cMsSf ])"},{"key":"X-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"overrides\": [\n        {\n            \"date\": \"2018-11-10\",\n            \"price\": \"250\",\n            \"price_type\": \"percent\"\n        },\n        {\n            \"date\": \"2018-11-11\",\n            \"price\": \"200\",\n            \"price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_stay\": 10\n        },\n        {\n            \"date\": \"2018-11-12\",\n            \"min_price_type\": \"fixed\",\n            \"currency\": \"EUR\",\n            \"min_price\": 10\n        }\n    ]\n}"}],"_postman_id":"4cb5dfc4-187f-4814-ab69-ab04d4b09b11"},{"name":"listing date level overrides","id":"68f4fc17-32c8-47d3-b0ae-26d7637aaf79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"airbnb\",\n    \"overrides\": [\n        {\n            \"date\": \"2018-12-01\"\n        },\n        {\n            \"date\": \"2018-12-03\"\n        },\n        {\n            \"date\": \"2018-12-05\"\n        },\n        {\n            \"date\": \"2018-12-07\"\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listings/2854562/overrides","description":"<p>Use this API to delete a specefic date's override</p>\n","urlObject":{"protocol":"https","path":["v1","listings","2854562","overrides"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"6f23ad21-8658-4379-98b0-1ffe403e0b6a","name":"listing date level overrides","originalRequest":{"method":"DELETE","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"airbnb\",\n    \"overrides\": [\n        {\n            \"date\": \"2018-12-01\"\n        },\n        {\n            \"date\": \"2018-12-03\"\n        },\n        {\n            \"date\": \"2018-12-05\"\n        },\n        {\n            \"date\": \"2018-12-07\"\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listings/2854562/overrides"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 10 Nov 2018 18:52:57 GMT"},{"key":"Content-Type","value":"text/plain"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"204 No Content"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"b84864c3-118c-4014-acb4-1508c9db4fd0"},{"key":"X-Runtime","value":"0.160643"},{"key":"Strict-Transport-Security","value":"max-age=31536000;"},{"key":"Age","value":"0"},{"key":"Via","value":"http/1.1 api-umbrella (ApacheTrafficServer [cMs f ])"},{"key":"X-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"68f4fc17-32c8-47d3-b0ae-26d7637aaf79"},{"name":"prices for listings","id":"0d69453c-d860-45db-b2a4-d13e1e48ffde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"listings\": [\n        {\n            \"id\": \"ABCDEF\",\n            \"pms\": \"pms\"\n        },\n        {\n            \"id\": \"12345\",\n            \"pms\": \"airbnb\"\n        },\n        {\n            \"id\": \"11051___123121\",\n            \"pms\": \"lodgify\"\n        },\n        {\n            \"id\": \"bcd32262-eb0d-4192-b2eb-3da30f380346\",\n            \"pms\": \"orbirental\"\n        }\n    ]\n}"},"url":"https://api.pricelabs.co/v1/listing_prices","description":"<p>Use this API to get prices for your listings that exist in your PriceLabs account. Following conditions are to be <strong>followed strictly</strong>:</p>\n<h4 id=\"rules\">Rules:</h4>\n<ol>\n<li>Listing and their PMS have to exist in your PriceLabs account.</li>\n</ol>\n<h4 id=\"response\">Response:</h4>\n<p>Response will contain price information that was last refreshed for each listing. If the listing was not updated recently then the response will have <strong><code>error</code></strong> key with an <strong><code>error_status</code></strong></p>\n<h4 id=\"error-statuses\">Error Statuses:</h4>\n<ol>\n<li><strong><code>LISTING_NOT_PRESENT</code></strong>: This particular listing does not exist in PriceLabs, either it was deleted or was never added. Please re-connect this listing's PMS on PriceLabs and try again.</li>\n<li><strong><code>LISTING_NO_DATA</code></strong>: Prices were not fetched on PriceLabs. Please head over to PriceLabs and review prices and once you see recommendations then you can retry the API request to get prices for this listing.</li>\n</ol>\n","urlObject":{"protocol":"https","path":["v1","listing_prices"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"89d5be9e-b622-4618-bceb-5e8f37c2a1c9","name":"prices for listings","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","type":"text","value":"API_KEY_FROM_DASHBOARD"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"listings\": [\n        {\n            \"id\": \"ABCDEF\",\n            \"pms\": \"pms\"\n        },\n        {\n            \"id\": \"12345\",\n            \"pms\": \"airbnb\"\n        },\n        {\n            \"id\": \"11051___123121\",\n            \"pms\": \"lodgify\"\n        },\n        {\n            \"id\": \"bcd32262-eb0d-4192-b2eb-3da30f380346\",\n            \"pms\": \"orbirental\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/listing_prices"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"ABCDEF\",\n        \"pms\": \"pms\",\n        \"error\": \"Listing does not exist in PriceLabs\",\n        \"error_status\": \"LISTING_NOT_PRESENT\"\n    },\n    {\n        \"id\": \"12345\",\n        \"pms\": \"airbnb\",\n        \"currency\": \"USD\",\n        \"last_refreshed_at\": \"2020-02-25T06:33:42+00:00\",\n        \"los_pricing\": {\n            \"11\": \"\",\n            \"10\": \"\",\n            \"13\": \"\",\n            \"12\": \"\",\n            \"14\": \"\",\n            \"1\": \"20\",\n            \"3\": \"0\",\n            \"2\": \"10\",\n            \"5\": \"-10\",\n            \"4\": \"-5\",\n            \"7\": \"-20\",\n            \"6\": \"-10\",\n            \"9\": \"\",\n            \"8\": \"-25\"\n        },\n        \"data\": [\n            {\n                \"date\": \"2020-02-25\",\n                \"price\": 147,\n                \"user_price\": 147,\n                \"uncustomized_price\": 147,\n                \"min_stay\": 1\n            },\n            {\n                \"date\": \"2020-02-26\",\n                \"price\": 137,\n                \"user_price\": 137,\n                \"uncustomized_price\": 137,\n                \"min_stay\": 1\n            },\n            {\n                \"date\": \"2021-02-22\",\n                \"price\": 480,\n                \"user_price\": 480,\n                \"uncustomized_price\": 480,\n                \"min_stay\": 20\n            },\n            {\n                \"date\": \"2021-02-23\",\n                \"price\": 212,\n                \"user_price\": 212,\n                \"uncustomized_price\": 212,\n                \"min_stay\": 20\n            },\n            {\n                \"date\": \"2021-02-24\",\n                \"price\": 215,\n                \"user_price\": 215,\n                \"uncustomized_price\": 215,\n                \"min_stay\": 20\n            }\n        ]\n    },\n    {\n        \"id\": \"11051___123121\",\n        \"pms\": \"lodgify\",\n        \"currency\": \"USD\",\n        \"last_refreshed_at\": \"2020-02-25T20:39:52+00:00\",\n        \"data\": [\n            {\n                \"date\": \"2020-02-25\",\n                \"price\": 139,\n                \"user_price\": 140,\n                \"uncustomized_price\": 139,\n                \"min_stay\": -1\n            },\n            {\n                \"date\": \"2021-02-22\",\n                \"price\": 458,\n                \"user_price\": 130,\n                \"uncustomized_price\": 458,\n                \"min_stay\": -1\n            },\n            {\n                \"date\": \"2021-02-23\",\n                \"price\": 286,\n                \"user_price\": 140,\n                \"uncustomized_price\": 286,\n                \"min_stay\": -1\n            },\n            {\n                \"date\": \"2021-02-24\",\n                \"price\": 283,\n                \"user_price\": 444,\n                \"uncustomized_price\": 283,\n                \"min_stay\": -1\n            }\n        ]\n    },\n    {\n        \"id\": \"bcd32262-eb0d-4192-b2eb-3da30f380346\",\n        \"pms\": \"orbirental\",\n        \"currency\": \"USD\",\n        \"last_refreshed_at\": \"2020-02-28T17:48:31+00:00\",\n        \"data\": [\n            {\n                \"date\": \"2021-02-25\",\n                \"price\": 498,\n                \"user_price\": 212,\n                \"uncustomized_price\": 332,\n                \"min_stay\": 7\n            },\n            {\n                \"date\": \"2021-02-26\",\n                \"price\": 933,\n                \"user_price\": 257,\n                \"uncustomized_price\": 466,\n                \"min_stay\": 7\n            },\n            {\n                \"date\": \"2021-02-27\",\n                \"price\": 1396,\n                \"user_price\": 100,\n                \"uncustomized_price\": 465,\n                \"min_stay\": 7\n            }\n        ]\n    }\n]"}],"_postman_id":"0d69453c-d860-45db-b2a4-d13e1e48ffde"},{"name":"add new listings","id":"7f3763a9-8502-4772-b150-5948c6deb265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"listing\" : \"12345\",\n    \"pms_name\": \"bookingsync\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/add_listing_data","description":"<p>Use this API call to pull new listings that you have added in your PMS, please make sure the \"listing_id\" in the body is for an existing listing that was previously added to your PriceLabs account.</p>\n<p>Note: This API call only works for \"bookingsync\" PMS.</p>\n","urlObject":{"protocol":"https","path":["v1","add_listing_data"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"4c11fc73-38c9-416e-b958-05a9dc8e4c42","name":"add_listings","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pms_name\": \"bookingsync\",\r\n    \"listing_id\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/add_listing_data"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7f3763a9-8502-4772-b150-5948c6deb265"},{"name":"push listings","id":"00f8baa4-2d79-4038-871a-eabd73c726af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"listing\": \"12345\",\n    \"pms_name\": \"airbnb\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/push_prices","description":"<p>Use this API call to push prices to listings that you have added in your PMS, please make sure the \"listing_id\" in the body is for an existing listing that was previously added to your PriceLabs account.</p>\n","urlObject":{"protocol":"https","path":["v1","push_prices"],"host":["api","pricelabs","co"],"query":[],"variable":[]}},"response":[{"id":"b87a3e0c-1bac-4ff2-a594-aa7fc6002b6f","name":"push listings","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"listing\": \"12345\",\n    \"pms_name\": \"airbnb\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.pricelabs.co/v1/push_prices"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"00f8baa4-2d79-4038-871a-eabd73c726af"},{"name":"get neighborhood data for a listing","id":"737b371e-0707-4c45-a53f-c18917fe0217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"}],"url":"https://api.pricelabs.co/v1/neighborhood_data?pms=vrm&listing_id=SUNSETPROPS_OLSE___239","description":"<p>Get neighborhood data for your listing with all stats that show up in the \"Neighborhood Tab\".</p>\n","urlObject":{"protocol":"https","path":["v1","neighborhood_data"],"host":["api","pricelabs","co"],"query":[{"key":"pms","value":"vrm"},{"key":"listing_id","value":"SUNSETPROPS_OLSE___239"}],"variable":[]}},"response":[{"id":"9b96423a-7b5d-4354-a1f5-a60bee2e7173","name":"neighborhood_data","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"API_KEY_FROM_DASHBOARD","type":"text"}],"url":{"raw":"https://api.pricelabs.co/v1/neighborhood_data?pms=vrm&listing_id=SUNSETPROPS_OLSE___239","protocol":"https","host":["api","pricelabs","co"],"path":["v1","neighborhood_data"],"query":[{"key":"pms","value":"vrm"},{"key":"listing_id","value":"SUNSETPROPS_OLSE___239"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Wed, 26 Jan 2022 06:17:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"bbdeb089-9200-40bc-9fef-9ed2c6050226"},{"key":"X-Runtime","value":"0.036718"},{"key":"Age","value":"0"},{"key":"Via","value":"http/1.1 api-umbrella (ApacheTrafficServer [cMsSf ])"},{"key":"X-Cache","value":"MISS"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Listing sync is not toggled ON in PriceLabs\"\n}"}],"_postman_id":"737b371e-0707-4c45-a53f-c18917fe0217"}],"event":[{"listen":"prerequest","script":{"id":"378e8b2a-cdaa-4305-b4c9-85e00ad234bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"22f57a62-fa30-48ab-95d1-84a00f14a624","type":"text/javascript","exec":[""]}}],"variable":[{"id":"8eaec655-5840-4ff9-ac85-3dd141c04231","key":"API_KEY","value":"API_KEY_FROM_DASHBOARD","type":"string"}]}