{"info":{"_postman_id":"7e63ade9-83b2-487b-a638-f298e3f498b5","name":"Natours","description":"<html><head></head><body><p>The Natours API contains endpoints for Tours, Users, and Reviews.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19887252","collectionId":"7e63ade9-83b2-487b-a638-f298e3f498b5","publishedId":"2s935vn19F","public":true,"customColor":{"top-bar":"f8f9fa","right-sidebar":"303030","highlight":"66a80f"},"publishDate":"2023-02-14T13:33:33.000Z"},"item":[{"name":"Tours","item":[{"name":"Get All Tours","id":"5390581f-7183-45a3-81b1-e2265136c461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours?duration[gte]=7","description":"<p>Use this endpoint to get all tours. Supports limiting and pagination. Look at query params</p>\n","urlObject":{"path":["api","v1","tours"],"host":["{{URL}}"],"query":[{"disabled":true,"key":"difficulty","value":"easy"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"sort","value":"1"},{"disabled":true,"key":"test","value":"23"},{"disabled":true,"key":"price[lt]","value":"1000"},{"disabled":true,"key":"sort","value":"-price,-ratingsAverage"},{"disabled":true,"key":"fields","value":"-name,-duration"},{"disabled":true,"key":"page","value":"4"},{"disabled":true,"key":"limit","value":"3"},{"disabled":true,"key":"limit","value":"5"},{"disabled":true,"key":"sort","value":"-price"},{"disabled":true,"key":"ratingsAverage[gte]","value":"4.7"},{"description":{"content":"<p>Query for tour duration. Supports gte, gt, lte, lt operators.</p>\n","type":"text/plain"},"key":"duration[gte]","value":"7"}],"variable":[]}},"response":[],"_postman_id":"5390581f-7183-45a3-81b1-e2265136c461"},{"name":"Get Tour","id":"9f2411f8-88e5-4078-9180-8d5d2e0f4352","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/5c88fa8cf4afda39709c295d","urlObject":{"path":["api","v1","tours","5c88fa8cf4afda39709c295d"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f2411f8-88e5-4078-9180-8d5d2e0f4352"},{"name":"Create New Tour","id":"5a0702f1-0e14-4dc0-a3ef-9d33768c8301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":" {\n    \"name\": \"New test tour\",\n    \"duration\": 1,\n    \"maxGroupSize\": 1,\n    \"difficulty\": \"easy\",\n    \"price\": 397,\n    \"summary\": \"test tour\",\n    \"imageCover\": \"tour-1-cover.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tours","urlObject":{"path":["api","v1","tours"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a0702f1-0e14-4dc0-a3ef-9d33768c8301"},{"name":"Delete Tour","id":"1b842a9f-2583-4a56-b6df-088f4a92ae02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/tours/63e7830313efff3c8c24fc30","urlObject":{"path":["api","v1","tours","63e7830313efff3c8c24fc30"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b842a9f-2583-4a56-b6df-088f4a92ae02"},{"name":"Update Tour","id":"04d7f90b-dd42-4c0e-9fe7-7daf74f75ce2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"imageCover","type":"file","src":"/Users/marcinjarczewski/src/node-jonas/4-naturous/dev-data/img/new-tour-1.jpg"},{"key":"images","type":"file","src":"/Users/marcinjarczewski/src/node-jonas/4-naturous/dev-data/img/new-tour-2.jpg"},{"key":"images","type":"file","src":"/Users/marcinjarczewski/src/node-jonas/4-naturous/dev-data/img/new-tour-3.jpg"},{"key":"images","type":"file","src":"/Users/marcinjarczewski/src/node-jonas/4-naturous/dev-data/img/new-tour-4.jpg"},{"key":"price","value":"997","type":"text","disabled":true},{"key":"name","value":"The City Wanderer 2","type":"text","disabled":true},{"key":"slug","value":"the-city-wanderer-2","type":"text"}]},"url":"{{URL}}/api/v1/tours/64022531f6de44c4cedf3c70","urlObject":{"path":["api","v1","tours","64022531f6de44c4cedf3c70"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04d7f90b-dd42-4c0e-9fe7-7daf74f75ce2"},{"name":"Get top 5 Cheap Tours","id":"afe4635d-7630-4fdc-bc07-1a96ae3cf117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/top-5-cheap","urlObject":{"path":["api","v1","tours","top-5-cheap"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"afe4635d-7630-4fdc-bc07-1a96ae3cf117"},{"name":"Get Tour Stats","id":"f5c5b007-075d-4f51-80d3-2a97ee633e8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/tour-stats","urlObject":{"path":["api","v1","tours","tour-stats"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5c5b007-075d-4f51-80d3-2a97ee633e8d"},{"name":"Get monthly plan","id":"22beca07-d510-4203-b39d-b6f603a0ddc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/monthly-plan/2021","urlObject":{"path":["api","v1","tours","monthly-plan","2021"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22beca07-d510-4203-b39d-b6f603a0ddc5"},{"name":"Get Tours Within Radius","id":"689bfca5-dc42-4e56-a5ac-6c86c81c4bcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/tours-within/400/center/34.089199,-118.244087\n\n/unit/mi","urlObject":{"path":["api","v1","tours","tours-within","400","center","34.089199,-118.244087\n\n","unit","mi"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"689bfca5-dc42-4e56-a5ac-6c86c81c4bcf"},{"name":"Get Distances To Tours From Point","id":"2ad5cf1c-86d5-40f6-ad44-61933c7397da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/distances/34.089199,-118.244087/unit/mi","urlObject":{"path":["api","v1","tours","distances","34.089199,-118.244087","unit","mi"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ad5cf1c-86d5-40f6-ad44-61933c7397da"}],"id":"16c25d9b-b792-4e4d-8921-a3ab5657fea1","description":"<p><strong>You can get all tours, create new ones, and edit and delete tours.</strong> There are special endpoints for special requirements.</p>\n<p>Such as:</p>\n<ul>\n<li>top rated 5 cheap tours</li>\n<li>getting tour statistics</li>\n<li>getting tours within radius</li>\n<li>get distances to tours from a point</li>\n</ul>\n","_postman_id":"16c25d9b-b792-4e4d-8921-a3ab5657fea1"},{"name":"Users","item":[{"name":"Get all users","id":"f7e3ab67-dc51-4495-8021-8cc86d6f3d3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7e3ab67-dc51-4495-8021-8cc86d6f3d3d"},{"name":"Get user","id":"886b2049-f3d3-41dc-a870-b24423459ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/63a2e8e64c1eb23b069db106","urlObject":{"path":["api","v1","users","63a2e8e64c1eb23b069db106"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"886b2049-f3d3-41dc-a870-b24423459ff6"},{"name":"Delete User","id":"3d52cab1-2bd0-4350-b83c-21d0d13656d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/63c06d4bf35a0bd1f59c75ff","urlObject":{"path":["api","v1","users","63c06d4bf35a0bd1f59c75ff"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d52cab1-2bd0-4350-b83c-21d0d13656d2"},{"name":"Update User","id":"b9287076-7c59-4dc7-b614-8f5aa5fabe3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"new test user\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/63e04554a067bf6656def594","urlObject":{"path":["api","v1","users","63e04554a067bf6656def594"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9287076-7c59-4dc7-b614-8f5aa5fabe3f"},{"name":"Get Current User","id":"4528dc8f-4e84-4c75-aa28-2734de3b8b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/users/me","urlObject":{"path":["api","v1","users","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4528dc8f-4e84-4c75-aa28-2734de3b8b24"},{"name":"Update Current User Data","id":"c9535203-19fe-489c-907e-106187c39c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Leo J. Gillespie","type":"text","disabled":true},{"key":"photo","type":"file","src":"/Users/marcinjarczewski/src/node-jonas/4-naturous/dev-data/img/aarav.jpg"}]},"url":"{{URL}}/api/v1/users/updateMe","urlObject":{"path":["api","v1","users","updateMe"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9535203-19fe-489c-907e-106187c39c71"},{"name":"Delete Current User","id":"542b8ae1-d02e-41cc-9803-f9f59ad921c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/deleteMe","urlObject":{"path":["api","v1","users","deleteMe"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"542b8ae1-d02e-41cc-9803-f9f59ad921c3"}],"id":"65891f12-8528-4914-95eb-c82f381b102a","_postman_id":"65891f12-8528-4914-95eb-c82f381b102a","description":""},{"name":"Authentication","item":[{"name":"Reset Password","event":[{"listen":"test","script":{"id":"80c34439-88fe-4298-8c8e-cfa35af0dc9b","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"9fe98d33-d1ef-4c11-93e4-c50b71355546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"\",\n    \"passwordConfirm\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/resetPassword/b2205bd7a4bb526693a70f2940b894c7adfe01610b29519429e1b7526a0e45b4","urlObject":{"path":["api","v1","users","resetPassword","b2205bd7a4bb526693a70f2940b894c7adfe01610b29519429e1b7526a0e45b4"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fe98d33-d1ef-4c11-93e4-c50b71355546"},{"name":"Forgot Password","id":"678142db-4da4-47d8-9aae-bcc8817108f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"admin@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/forgotPassword","urlObject":{"path":["api","v1","users","forgotPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"678142db-4da4-47d8-9aae-bcc8817108f3"},{"name":"Login","event":[{"listen":"test","script":{"id":"20e82ae5-d2e8-441b-a24b-eb364be677b1","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"1c365109-e0d6-41b0-b1d1-5a845a3c7c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":  \"marcin.jarc@gmail.com\",\n    \"password\": {{password}}\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/login","urlObject":{"path":["api","v1","users","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c365109-e0d6-41b0-b1d1-5a845a3c7c58"},{"name":"Sign up","event":[{"listen":"test","script":{"id":"4fb9fe5c-0ef8-4168-9f60-7dd4d7e0d978","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"944af42a-eb1a-42d9-9a40-1c4a49049e03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"\",\n    \"email\": \"\",\n    \"password\": \"\",\n    \"passwordConfirm\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/signup","urlObject":{"path":["api","v1","users","signup"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"944af42a-eb1a-42d9-9a40-1c4a49049e03"},{"name":"Update Current User Password","id":"676452f8-902b-47c1-bc86-eb3f908b3511","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"passwordCurrent\": \"\",\n    \"password\": \"\",\n    \"passwordConfirm\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/updateMyPassword","urlObject":{"path":["api","v1","users","updateMyPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"676452f8-902b-47c1-bc86-eb3f908b3511"}],"id":"d775e2f4-2659-40ca-9088-ef3e8ed9078a","_postman_id":"d775e2f4-2659-40ca-9088-ef3e8ed9078a","description":""},{"name":"Reviews","item":[{"name":"Get All Reviews","id":"474a8cdb-ee49-4d58-ae73-c187d50ae17e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"474a8cdb-ee49-4d58-ae73-c187d50ae17e"},{"name":"Get Review","id":"6e7da96c-6224-4c03-9e6d-491d96069216","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews/5c88fa8cf4afda39709c2955","urlObject":{"path":["api","v1","reviews","5c88fa8cf4afda39709c2955"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e7da96c-6224-4c03-9e6d-491d96069216"},{"name":"Create New Review","id":"b33d2d39-00fe-4f37-afb9-3523be823650","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"review\": \"lorem ipsum 2\",\n    \"rating\": 3,\n    \"tour\": \"63c482656894781d88156785\",\n    \"user\": \"63a2e8c74c1eb23b069db104\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b33d2d39-00fe-4f37-afb9-3523be823650"},{"name":"Delete Review","id":"2a785177-dea2-4adc-a42c-a3f93e174c90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/reviews/63e81ff57b3ebd521b3f0e07","urlObject":{"path":["api","v1","reviews","63e81ff57b3ebd521b3f0e07"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a785177-dea2-4adc-a42c-a3f93e174c90"},{"name":"Update Review","id":"68fb9f47-9051-46e2-9489-e0a4ca844419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"rating\": 3\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews/63e80a61db99af4f8bc84cf2","urlObject":{"path":["api","v1","reviews","63e80a61db99af4f8bc84cf2"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"68fb9f47-9051-46e2-9489-e0a4ca844419"}],"id":"b4429fdc-b74b-46dc-a649-d75fa47a961f","_postman_id":"b4429fdc-b74b-46dc-a649-d75fa47a961f","description":""},{"name":"Tours/Reviews","item":[{"name":"Create New Review on Tour","id":"4eec0382-421f-46f9-bf78-c1cec66a593d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rating\": 4,\n    \"review\": \"Cool4!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tours/63e784c513efff3c8c24fc36/reviews","urlObject":{"path":["api","v1","tours","63e784c513efff3c8c24fc36","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4eec0382-421f-46f9-bf78-c1cec66a593d"},{"name":"Get All Reviews on Tour","id":"828918b3-136b-4b55-b1c5-f3f07ef6bf30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/5c88fa8cf4afda39709c2966/reviews","urlObject":{"path":["api","v1","tours","5c88fa8cf4afda39709c2966","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"828918b3-136b-4b55-b1c5-f3f07ef6bf30"}],"id":"d467352f-2638-454d-9ee0-c91a15ee9e9d","_postman_id":"d467352f-2638-454d-9ee0-c91a15ee9e9d","description":""},{"name":"Bookings","item":[{"name":"Get All Bookings","id":"be858eb7-1169-4212-b2ef-00d4b7e02287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bookings","urlObject":{"path":["api","v1","bookings"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be858eb7-1169-4212-b2ef-00d4b7e02287"},{"name":"Get Booking","id":"7ca5a297-f4bc-4c0c-9a90-89d79ff6c61b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bookings/640a5838c22ec1f35effd933","urlObject":{"path":["api","v1","bookings","640a5838c22ec1f35effd933"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ca5a297-f4bc-4c0c-9a90-89d79ff6c61b"},{"name":"Create Booking","id":"aa2fd3a3-fa1a-4382-9cdd-405cea62c707","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tour\": \"5c88fa8cf4afda39709c2951\",\n    \"user\": \"\",\n    \"price\": 997\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bookings","urlObject":{"path":["api","v1","bookings"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa2fd3a3-fa1a-4382-9cdd-405cea62c707"},{"name":"Delete Booking","id":"8ef8611c-92b3-40ed-9039-024c79666347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bookings/640a5838c22ec1f35effd933","urlObject":{"path":["api","v1","bookings","640a5838c22ec1f35effd933"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ef8611c-92b3-40ed-9039-024c79666347"},{"name":"Update Booking","id":"d58ca24f-d711-4a7f-a980-78c3b96f3cda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"price\": 397\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bookings/640a5838c22ec1f35effd933","urlObject":{"path":["api","v1","bookings","640a5838c22ec1f35effd933"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d58ca24f-d711-4a7f-a980-78c3b96f3cda"}],"id":"99e817d3-d8e9-40cc-bce8-c8971906989a","description":"<h2 id=\"booking-endpoints\">Booking endpoints</h2>\n<p>Used to manipulate bookings made by users on specific tours</p>\n<ul>\n<li>create one</li>\n<li>read ono / all</li>\n<li>delete one</li>\n<li>update one</li>\n</ul>\n","_postman_id":"99e817d3-d8e9-40cc-bce8-c8971906989a"}]}