{"info":{"_postman_id":"41d136c9-1c88-4242-bbaa-220cb6c30587","name":"Natours","description":"<html><head></head><body><p>Natours API contain endpoint for tours, users, reviews</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30662537","collectionId":"41d136c9-1c88-4242-bbaa-220cb6c30587","publishedId":"2sAXjDdF3e","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-21T17:11:42.000Z"},"item":[{"name":"Tours","item":[{"name":"Get All Tours","id":"3855612d-5bb0-4ec7-8321-439359812a5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours","description":"<p>you can get all tours.</p>\n","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3855612d-5bb0-4ec7-8321-439359812a5f"},{"name":"Create new tours","id":"60eb20c2-0b35-4759-85d8-16038f93fa46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new test tour\",\r\n    \"duration\": 1,\r\n    \"maxGroupSize\": 1,\r\n    \"difficulty\": \"easy\",\r\n    \"price\": 500,\r\n    \"summary\": \"test tour\",\r\n    \"imageCover\": \"tour-3-cover.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"60eb20c2-0b35-4759-85d8-16038f93fa46"},{"name":"Get Tour","id":"3d81b85e-bfa1-4970-8137-c315a97d163f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/66c32b1a42ff8521e046b369","urlObject":{"path":["v1","tours","66c32b1a42ff8521e046b369"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d81b85e-bfa1-4970-8137-c315a97d163f"},{"name":"Update Tour","id":"5c9554d4-6e12-4326-91df-d4482fdfb861","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":"postman-cloud:///1ef71f1d-39b1-4db0-a7b1-d27768037835"},{"key":"images","type":"file","src":"postman-cloud:///1ef71f1f-c45b-4ae0-a86b-efdb51dbde97"},{"key":"images","type":"file","src":"postman-cloud:///1ef71f20-bf7f-4ac0-af55-ebe030fb5518"},{"key":"images","type":"file","src":"postman-cloud:///1ef71f22-96dc-49e0-afe7-10825504b7be"},{"key":"price","value":"997","type":"text"}]},"url":"{{URL}}api/v1/tours/66e46f8ba9a653b5dc820f98","urlObject":{"path":["v1","tours","66e46f8ba9a653b5dc820f98"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5c9554d4-6e12-4326-91df-d4482fdfb861"},{"name":"Delete Tour","id":"246cb242-8704-4400-a460-2e8213b40722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c295a","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c295a"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"246cb242-8704-4400-a460-2e8213b40722"},{"name":"Top 5 cheap tour","id":"f6749d37-28dd-463f-8d0f-746548b92a32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:3000/api/v1/tours/top-5-cheap","urlObject":{"port":"3000","path":["api","v1","tours","top-5-cheap"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6749d37-28dd-463f-8d0f-746548b92a32"},{"name":"Get monthly plan","id":"fa4e9aab-b008-4c37-a841-5f16a348c4c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:3000/api/v1/tours/monthly-plan/2021","urlObject":{"port":"3000","path":["api","v1","tours","monthly-plan","2021"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa4e9aab-b008-4c37-a841-5f16a348c4c8"},{"name":"Get tour stats","id":"1cad9702-ffa2-4521-a74d-944f8f023c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:3000/api/v1/tours/tour-stats","urlObject":{"port":"3000","path":["api","v1","tours","tour-stats"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cad9702-ffa2-4521-a74d-944f8f023c4b"},{"name":"Get Tours Within Redius","id":"5b918ba4-93c4-47c2-bb53-ebe635cb9497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/tours-within/200/center/34.111745,-118.113491/unit/mi","urlObject":{"path":["v1","tours","tours-within","200","center","34.111745,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b918ba4-93c4-47c2-bb53-ebe635cb9497"},{"name":"Get Distances to Tour From Point","id":"44eb20e1-6811-4723-865f-0c3efda4c9f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/distances/34.111745,-118.113491/unit/mi","urlObject":{"path":["v1","tours","distances","34.111745,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"44eb20e1-6811-4723-865f-0c3efda4c9f2"}],"id":"fb66953a-e5e9-430f-bba6-973d1dc8726c","description":"<p>you can get all tours, create new one, delete one, update one.</p>\n","_postman_id":"fb66953a-e5e9-430f-bba6-973d1dc8726c"},{"name":"Users","item":[{"name":"Get All Users","id":"338bdb3a-78a0-49fc-ab89-bcc061e6b626","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":["v1","users"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"338bdb3a-78a0-49fc-ab89-bcc061e6b626"},{"name":"Get user","id":"a5e2c061-7c0f-4af7-8b1a-cbd1a6fd1207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:3000/api/v1/users/2","urlObject":{"port":"3000","path":["api","v1","users","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5e2c061-7c0f-4af7-8b1a-cbd1a6fd1207"},{"name":"Get Current User","id":"f6e3b17d-3da1-4248-b130-fb5637c20888","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users/me","urlObject":{"path":["v1","users","me"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6e3b17d-3da1-4248-b130-fb5637c20888"},{"name":"Update Current User Data","id":"32a63480-6420-4940-b090-aa465202c6d2","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":"abdo","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/CompuMall/OneDrive/Desktop/photo_2024-05-04_22-53-10.jpg"],"src":"postman-cloud:///1ef721d3-9782-4d50-aa54-88e16729ef91"}]},"url":"{{URL}}api/v1/users/updateMe","urlObject":{"path":["v1","users","updateMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"32a63480-6420-4940-b090-aa465202c6d2"},{"name":"Delete Current User","id":"32d2b036-9d57-4daa-8d64-6ea8241ffd93","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":["v1","users","deleteMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"32d2b036-9d57-4daa-8d64-6ea8241ffd93"},{"name":"Delete User","id":"6faa643f-79d9-4789-b0cf-d193279b18db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/66bb22d232cc9944e83c7bd2","urlObject":{"path":["v1","users","66bb22d232cc9944e83c7bd2"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6faa643f-79d9-4789-b0cf-d193279b18db"},{"name":"Update User","id":"ba3991d8-aede-49f3-8b56-95232f3da146","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"abdo adimy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/66bb1766291f081c240e59a7","urlObject":{"path":["v1","users","66bb1766291f081c240e59a7"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba3991d8-aede-49f3-8b56-95232f3da146"}],"id":"f6e1db0d-f907-4cf4-b646-fc50addce1aa","_postman_id":"f6e1db0d-f907-4cf4-b646-fc50addce1aa","description":""},{"name":"Authentication","item":[{"name":"Update Current User Password","event":[{"listen":"test","script":{"id":"bd1bf2d2-31e4-41ab-97dd-ac34377ea381","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"631121ed-e48c-475c-b32d-deb7f2a2f015","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"passwordCurrent\": \"test1234\",\r\n    \"password\": \"pass1234\",\r\n    \"passwordConfirm\": \"pass1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/updateMyPassword","urlObject":{"path":["v1","users","updateMyPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"631121ed-e48c-475c-b32d-deb7f2a2f015"},{"name":"Reset Password","event":[{"listen":"test","script":{"id":"66969d3c-f35b-4d42-918a-478d45b86ae5","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"a598f4bc-0200-4e5e-b3ac-4200ff230495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"newpassword\",\r\n    \"passwordConfirm\": \"newpassword\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/resetPassword/961bba21bbf841e0f215012c09426de1af6681bb004b8ac257ae5f0a975581eb","urlObject":{"path":["v1","users","resetPassword","961bba21bbf841e0f215012c09426de1af6681bb004b8ac257ae5f0a975581eb"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a598f4bc-0200-4e5e-b3ac-4200ff230495"},{"name":"Forget Password","id":"8222ce68-d414-4ea5-9b54-fb05480172f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/forgetPassword","urlObject":{"path":["v1","users","forgetPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8222ce68-d414-4ea5-9b54-fb05480172f5"},{"name":"Log in","event":[{"listen":"test","script":{"id":"265309e5-db80-4d2b-99d4-338ae316d8af","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"602e10f2-518c-49e3-8aa4-a5e3050d801a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"looool@example.com\",\r\n    \"password\": \"test1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/login","urlObject":{"path":["v1","users","login"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"602e10f2-518c-49e3-8aa4-a5e3050d801a"},{"name":"Sign Up","event":[{"listen":"test","script":{"id":"ce30e78c-41a6-480e-a264-1a93167480c8","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"bdc32c2b-555c-46da-b0f9-0a656a07a933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"adimy@mailsac.com\",\r\n    \"password\": \"test1234\",\r\n    \"passwordConfirm\": \"test1234\",\r\n    \"name\": \"adimy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/signup","urlObject":{"path":["v1","users","signup"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdc32c2b-555c-46da-b0f9-0a656a07a933"}],"id":"d77a8383-a9e5-4ab0-8b4f-2c5d224199ad","_postman_id":"d77a8383-a9e5-4ab0-8b4f-2c5d224199ad","description":""},{"name":"Reviews","item":[{"name":"Create Rewview","id":"c446cf00-ef20-4475-973b-723933cdeda1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"Greatness tour !!!\",\r\n    \"rating\": 3,\r\n    \"tour\": \"5c88fa8cf4afda39709c2951\",\r\n    \"user\": \"66b73682fcc6c73084d2f94d\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c446cf00-ef20-4475-973b-723933cdeda1"},{"name":"Get All Reviews","id":"4c81b24b-ad9e-4d6e-bd82-8dcca69fd609","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":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c81b24b-ad9e-4d6e-bd82-8dcca69fd609"},{"name":"Delete Review","id":"3fd4a1ba-0894-435e-a55e-bed6cb97132e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/reviews/66c35f92a16ce104e4a4ff7e","urlObject":{"path":["v1","reviews","66c35f92a16ce104e4a4ff7e"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fd4a1ba-0894-435e-a55e-bed6cb97132e"},{"name":"Update Review","id":"35d70d71-59a1-4c23-bacc-4a668f8190b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/66c4f67b385c1a30ec94a4a9","urlObject":{"path":["v1","reviews","66c4f67b385c1a30ec94a4a9"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"35d70d71-59a1-4c23-bacc-4a668f8190b4"},{"name":"Get Review","id":"d4d92cb7-9422-48cd-8c90-33c07030f28c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/reviews/66bb0ac8c037601980f32438","urlObject":{"path":["v1","reviews","66bb0ac8c037601980f32438"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4d92cb7-9422-48cd-8c90-33c07030f28c"}],"id":"e5cb65af-c4eb-4c89-b5c1-92ddaf8debcf","_postman_id":"e5cb65af-c4eb-4c89-b5c1-92ddaf8debcf","description":""},{"name":"Review/Tour","item":[{"name":"Create New Review in Tour","id":"1c064e6f-831d-4bee-bea6-409c6fd13d88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\": 5,\r\n    \"review\": \"amazing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours/66c32b1a42ff8521e046b369/reviews","urlObject":{"path":["v1","tours","66c32b1a42ff8521e046b369","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c064e6f-831d-4bee-bea6-409c6fd13d88"},{"name":"Get All Reviews on Tour","id":"9d23bb07-abbd-4192-8554-b7d479119d62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2951/reviews","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2951","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d23bb07-abbd-4192-8554-b7d479119d62"}],"id":"f7b8abbb-01b1-491c-99e5-8dbcaaa98914","_postman_id":"f7b8abbb-01b1-491c-99e5-8dbcaaa98914","description":""},{"name":"Booking","item":[{"name":"Get All Bookings","id":"c5edfbd8-ef3e-4a86-bec0-ff4cc7d82760","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":["v1","bookings"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5edfbd8-ef3e-4a86-bec0-ff4cc7d82760"},{"name":"Get Booking","id":"edb0197a-b49a-4559-bbdc-348221120dab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/bookings/66e7f9a351eb17267c8d5fd2","urlObject":{"path":["v1","bookings","66e7f9a351eb17267c8d5fd2"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"edb0197a-b49a-4559-bbdc-348221120dab"},{"name":"Create Booking","id":"6e8a9463-57e7-453f-a202-b173e5cee978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tour\" : \"5c88fa8cf4afda39709c2955\",\r\n    \"user\": \"66e2b77068bd692a30f55d8d\",\r\n    \"price\": 123\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/bookings","urlObject":{"path":["v1","bookings"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e8a9463-57e7-453f-a202-b173e5cee978"},{"name":"Update Booking","id":"09c75e42-84f5-43b5-b45f-91b3c0587cdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{URL}}api/v1/bookings/66e7f9a351eb17267c8d5fd2","urlObject":{"path":["v1","bookings","66e7f9a351eb17267c8d5fd2"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"09c75e42-84f5-43b5-b45f-91b3c0587cdf"},{"name":"Delete Booking","id":"52a4b634-224e-4085-9867-84d3348c3ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/bookings/66e7f9a351eb17267c8d5fd2","urlObject":{"path":["v1","bookings","66e7f9a351eb17267c8d5fd2"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"52a4b634-224e-4085-9867-84d3348c3ccf"}],"id":"2b253216-d99c-492b-85a8-bf56e33bb5c2","_postman_id":"2b253216-d99c-492b-85a8-bf56e33bb5c2","description":""},{"name":"checkout session","item":[{"name":"{{URL}}api/v1/bookings//checkout-session/5c88fa8cf4afda39709c2955","id":"59e332f9-c835-4088-9b1b-71d45e5e3d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/bookings//checkout-session/5c88fa8cf4afda39709c2955","urlObject":{"path":["v1","bookings","","checkout-session","5c88fa8cf4afda39709c2955"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"59e332f9-c835-4088-9b1b-71d45e5e3d66"}],"id":"08a3405e-b075-493a-a981-9c0b0ce96424","_postman_id":"08a3405e-b075-493a-a981-9c0b0ce96424","description":""}]}