{"info":{"_postman_id":"9cfe4674-be1d-46c2-ab6b-99dc9dbff7a5","name":"Khana REST API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8125297","collectionId":"9cfe4674-be1d-46c2-ab6b-99dc9dbff7a5","publishedId":"T1LPD6sA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-18T09:25:37.000Z"},"item":[{"name":"customers","item":[{"name":"Customer Register","id":"78a4b84d-4e36-4119-ad6b-460a82344acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer"}],"url":"https://url.com/api/register?name=mdmaruf&email=customer@customer.com&password=rootadmin","urlObject":{"protocol":"https","path":["api","register"],"host":["url","com"],"query":[{"key":"name","value":"mdmaruf"},{"key":"email","value":"customer@customer.com"},{"key":"password","value":"rootadmin"}],"variable":[]}},"response":[],"_postman_id":"78a4b84d-4e36-4119-ad6b-460a82344acf"},{"name":"Customer login","id":"a14eada1-d249-45bc-aab4-98278a8ef879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/login?email=admin@admin.com&password=rootadmin","description":"<p>return </p>\n<p>Auth Token and login id</p>\n","urlObject":{"protocol":"https","path":["api","login"],"host":["url","com"],"query":[{"key":"email","value":"admin@admin.com"},{"key":"password","value":"rootadmin"}],"variable":[]}},"response":[],"_postman_id":"a14eada1-d249-45bc-aab4-98278a8ef879"},{"name":"Customer Profile Information","id":"1d06ed9d-1aa7-4a93-b540-ce80c8e09799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer FVJOw2Adc1He48q0GwdxfkJFdTzvUUjAJj1rFwtVBIYoRy6R6hC10YVUfLUGBdfzpUFsRFtJHJeMJrXD","type":"text"}],"url":"https://url.com/api/info","urlObject":{"protocol":"https","path":["api","info"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d06ed9d-1aa7-4a93-b540-ce80c8e09799"},{"name":"Create New Order","id":"69bd10c1-ee34-4e0c-936c-190adf96ee03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer N4jxmbaqlbNHbw11BJucJitzwXzNMk18lqUdPYm9CkAnzDmKcIKhkrSLAGQRD4zgtaXrOKM7xh5vPUSf","type":"text"}],"url":"https://url.com/api/create_order?vendor_id=3&order_type=1&payment_method=cod&payment_status=0&total=89.00&shipping=25&commission=0&discount=0.00&status=2&name=Arafat&phone=01736352658&delivery_address=Kirtipur Mondolpara&latitude=87.25&longitude=96.25&order_note=Lorem ispum&datacart=[{'product_id':18,'qty':1,'price':25}]","urlObject":{"protocol":"https","path":["api","create_order"],"host":["url","com"],"query":[{"key":"vendor_id","value":"3"},{"key":"order_type","value":"1"},{"key":"payment_method","value":"cod"},{"key":"payment_status","value":"0"},{"key":"total","value":"89.00"},{"key":"shipping","value":"25"},{"key":"commission","value":"0"},{"key":"discount","value":"0.00"},{"key":"status","value":"2"},{"key":"name","value":"Arafat"},{"key":"phone","value":"01736352658"},{"key":"delivery_address","value":"Kirtipur Mondolpara"},{"key":"latitude","value":"87.25"},{"key":"longitude","value":"96.25"},{"key":"order_note","value":"Lorem ispum"},{"key":"datacart","value":"[{'product_id':18,'qty':1,'price':25}]"}],"variable":[]}},"response":[],"_postman_id":"69bd10c1-ee34-4e0c-936c-190adf96ee03"},{"name":"Customer All Orders","id":"313da54c-61a3-456a-8c38-7d080067ff52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer M9cD2laFQKC2jc1MN9PdUsn1UDdtAOkTX14XMaE4ewZi5gAlTZBNK4BayRbbF9zBbEFf7nhNbZuB1NEy","type":"text"}],"url":"https://url.com/api/customer/orders","urlObject":{"protocol":"https","path":["api","customer","orders"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"313da54c-61a3-456a-8c38-7d080067ff52"},{"name":"Order Details","id":"244707e7-f164-4540-849c-81dba5594903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer N4jxmbaqlbNHbw11BJucJitzwXzNMk18lqUdPYm9CkAnzDmKcIKhkrSLAGQRD4zgtaXrOKM7xh5vPUSf","type":"text"}],"url":"https://url.com/api/customer/order/1","urlObject":{"protocol":"https","path":["api","customer","order","1"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"244707e7-f164-4540-849c-81dba5594903"},{"name":"Customer Settings Update","id":"d209cf5d-efc6-4630-96b2-2f647b11aebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer N4jxmbaqlbNHbw11BJucJitzwXzNMk18lqUdPYm9CkAnzDmKcIKhkrSLAGQRD4zgtaXrOKM7xh5vPUSf","type":"text"}],"url":"https://url.com/api/customer/settings?name=Arafat&email=arafat@gmail.com&current_password=12345678&password=rootadmin&password_confirmation=rootadmin","urlObject":{"protocol":"https","path":["api","customer","settings"],"host":["url","com"],"query":[{"key":"name","value":"Arafat"},{"key":"email","value":"arafat@gmail.com"},{"key":"current_password","value":"12345678"},{"key":"password","value":"rootadmin"},{"key":"password_confirmation","value":"rootadmin"}],"variable":[]}},"response":[],"_postman_id":"d209cf5d-efc6-4630-96b2-2f647b11aebb"},{"name":"Customer All Reviews","id":"22062bf5-1aa6-4cec-82e8-b1ca8fd8c32c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer N4jxmbaqlbNHbw11BJucJitzwXzNMk18lqUdPYm9CkAnzDmKcIKhkrSLAGQRD4zgtaXrOKM7xh5vPUSf","type":"text"}],"url":"https://url.com/api/customer/review","urlObject":{"protocol":"https","path":["api","customer","review"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"22062bf5-1aa6-4cec-82e8-b1ca8fd8c32c"},{"name":"Create New Review","id":"c4050ef3-6e35-4d41-820b-d123e644b52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer N4jxmbaqlbNHbw11BJucJitzwXzNMk18lqUdPYm9CkAnzDmKcIKhkrSLAGQRD4zgtaXrOKM7xh5vPUSf","type":"text"}],"url":"https://url.com/api/customer/review?order_id=1&vendor_id=3&ratting=4&review=Wow","urlObject":{"protocol":"https","path":["api","customer","review"],"host":["url","com"],"query":[{"key":"order_id","value":"1"},{"key":"vendor_id","value":"3"},{"key":"ratting","value":"4"},{"key":"review","value":"Wow"}],"variable":[]}},"response":[],"_postman_id":"c4050ef3-6e35-4d41-820b-d123e644b52a"},{"name":"Book A Table","id":"a2d63610-5263-4cb5-8589-d5a0f71300ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/customer/table/booking?number_of_gutes=4&date=25/07/2020&name=Arafat&email=arafat@gmail.com&mobile=017586958&vendor_id=3","urlObject":{"protocol":"https","path":["api","customer","table","booking"],"host":["url","com"],"query":[{"key":"number_of_gutes","value":"4"},{"key":"date","value":"25/07/2020"},{"key":"name","value":"Arafat"},{"key":"email","value":"arafat@gmail.com"},{"key":"mobile","value":"017586958"},{"key":"vendor_id","value":"3"}],"variable":[]}},"response":[],"_postman_id":"a2d63610-5263-4cb5-8589-d5a0f71300ff"}],"id":"3941634d-a10b-4997-a825-974263e53881","_postman_id":"3941634d-a10b-4997-a825-974263e53881","description":""},{"name":"frontend","item":[{"name":"Get All City","id":"b5fe5b2e-70a0-47c2-8697-4220ca9c4b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/allcategory?limit=2&random=off","description":"<p>parameters</p>\n<p>limit=integer (you can get set how may record you want)\nrandom=string (\"off\" means it will return latest data without random record or \"on\" means it will return random records)</p>\n","urlObject":{"protocol":"https","path":["api","allcategory"],"host":["url","com"],"query":[{"key":"limit","value":"2"},{"key":"random","value":"off"}],"variable":[]}},"response":[],"_postman_id":"b5fe5b2e-70a0-47c2-8697-4220ca9c4b8f"},{"name":"City By Resturants","id":"b6adc1cb-1394-4bd3-aa5d-2d99efa06ee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/city/{city_id}?order=ASC&cats=7","description":"<p>parameter</p>\n<p>order=string (\"ASC\" means you can get order by ascending or \"DESC\" means you can get record order by descending)</p>\n<p>cats=integer (its not required but if you want get record by category based you can set the perameter for get records)</p>\n","urlObject":{"protocol":"https","path":["api","city","{city_id}"],"host":["url","com"],"query":[{"key":"order","value":"ASC"},{"key":"cats","value":"7"}],"variable":[]}},"response":[],"_postman_id":"b6adc1cb-1394-4bd3-aa5d-2d99efa06ee8"},{"name":"Offerable resturants","id":"1e1cbba7-aa7e-4d75-a040-1c533d4fb2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/offerable?city_id=2","description":"<p>parameter</p>\n<p>city_id=integer (for offerable resturant you need to set city_id)</p>\n","urlObject":{"protocol":"https","path":["api","offerable"],"host":["url","com"],"query":[{"key":"city_id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"1e1cbba7-aa7e-4d75-a040-1c533d4fb2ef"},{"name":"Seller Products","id":"c6820047-c6e4-4b94-8926-b225fcadeb75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://url.com/api/productlist/{resturant_id}","description":"<p>url/resturant id</p>\n","urlObject":{"protocol":"https","path":["api","productlist","{resturant_id}"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6820047-c6e4-4b94-8926-b225fcadeb75"},{"name":"Seller Profile","id":"ad6e9a08-af7e-43db-80fa-a37724e06ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://url.com/api/restaurant/{resturant_id}","description":"<p>url/seller_id   (get seller information data)</p>\n","urlObject":{"protocol":"https","path":["api","restaurant","{resturant_id}"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad6e9a08-af7e-43db-80fa-a37724e06ca4"}],"id":"6cbccf6f-e1d7-45f7-b354-9afbf41fd18f","_postman_id":"6cbccf6f-e1d7-45f7-b354-9afbf41fd18f","description":""},{"name":"rider","item":[{"name":"Todays Orders","id":"f9293e49-2028-4ed9-a0b3-f024d028c831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9","type":"text"}],"url":"https://url.com/api/todaysorder","urlObject":{"protocol":"https","path":["api","todaysorder"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9293e49-2028-4ed9-a0b3-f024d028c831"},{"name":"All Orders","id":"ce32d168-ef06-4262-a1ba-3db6058bb758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9","type":"text"}],"url":"https://url.com/api/allorders","urlObject":{"protocol":"https","path":["api","allorders"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce32d168-ef06-4262-a1ba-3db6058bb758"},{"name":"Order Accept","id":"c6f05cec-09d6-4214-a2b6-f6a33b2d4a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9"}],"url":"https://url.com/api/accept?order_id=2","description":"<p>Parameter</p>\n<p>order_id=integer</p>\n","urlObject":{"protocol":"https","path":["api","accept"],"host":["url","com"],"query":[{"key":"order_id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"c6f05cec-09d6-4214-a2b6-f6a33b2d4a03"},{"name":"Decline Order","id":"929d299a-d4e6-41ec-9876-df5ac781cd26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9"}],"url":"https://url.com/api/decline?order_id=1","description":"<p>Parameter</p>\n<p>order_id=integer</p>\n","urlObject":{"protocol":"https","path":["api","decline"],"host":["url","com"],"query":[{"key":"order_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"929d299a-d4e6-41ec-9876-df5ac781cd26"},{"name":"Complete Order","id":"5970216e-c232-4585-b3c3-4019fd00ff9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9"}],"url":"https://url.com/api/complete?payment_status=1&status=1&order_id=2","description":"<p>Parameter</p>\n<p>order_id=integer\npayment_status=integer  (0 means payment not recived 1 means payment recived)\nstatus=integer (0 means order cancel 1 means order complete)</p>\n","urlObject":{"protocol":"https","path":["api","complete"],"host":["url","com"],"query":[{"key":"payment_status","value":"1"},{"key":"status","value":"1"},{"key":"order_id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"5970216e-c232-4585-b3c3-4019fd00ff9c"},{"name":"Rider status","id":"49dc946f-18e2-4d3d-990a-b0e70eb349e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://url.com/api/status?status=approved","description":"<p>Parameter</p>\n<p>status=string (\"approved\" means active or \"offline\" means offline)</p>\n","urlObject":{"protocol":"https","path":["api","status"],"host":["url","com"],"query":[{"key":"status","value":"approved"}],"variable":[]}},"response":[],"_postman_id":"49dc946f-18e2-4d3d-990a-b0e70eb349e8"},{"name":"Order Details","id":"98cc79b0-dfa6-43f1-b624-2e8622f17209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9"}],"url":"https://url.com/api/orderview/{order_id}","description":"<p>Url/order id</p>\n","urlObject":{"protocol":"https","path":["api","orderview","{order_id}"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"98cc79b0-dfa6-43f1-b624-2e8622f17209"},{"name":"Rider login","id":"a14d155b-3c0f-4ba4-a728-6da5ed997ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"http://url.com/api/login?email=admin@admin.com&password=rootadmin","description":"<p>return \nAuthorization Token with login id</p>\n","urlObject":{"protocol":"http","path":["api","login"],"host":["url","com"],"query":[{"key":"email","value":"admin@admin.com"},{"key":"password","value":"rootadmin"}],"variable":[]}},"response":[],"_postman_id":"a14d155b-3c0f-4ba4-a728-6da5ed997ef6"},{"name":"Information Update","id":"631c385c-7353-471e-b9c6-7ba3cdc42cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer vV4m4D8lybNVCANHpP6cDGEX7v2yDtrgQItiI6nIwBhIZhYtXRhvT4JKFUWB3ouXRaaluBBAjMKwKE3a","type":"text"}],"url":"https://url.com/api/user/settings","urlObject":{"protocol":"https","path":["api","user","settings"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"631c385c-7353-471e-b9c6-7ba3cdc42cbb"}],"id":"a366e367-87c7-49b3-9e7b-6558d2df0b0f","_postman_id":"a366e367-87c7-49b3-9e7b-6558d2df0b0f","description":""},{"name":"User logout","id":"8cfae652-78c6-4f59-813f-b1808fe1c8f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer 1qmATlIHW0Vk5oW48iFOywUGkOW8eF8GEFwb8pWglbs1SOGndBHJw5FdNrTYHsHNl7m2MKnWujoeCCE9","type":"text"}],"url":"https://url.com/api/logout","description":"<p>Header\nAccept= application/json\nContent-Type=application/json\nAuthorization=Bearer Token</p>\n","urlObject":{"protocol":"https","path":["api","logout"],"host":["url","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cfae652-78c6-4f59-813f-b1808fe1c8f7"},{"name":"User login","id":"71066e41-5a34-4a29-8103-3371cf5fabb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://url.com/api/login?email=rider@email.com&password=rootadmin","description":"<p>Header\nAccept= application/json\nContent-Type=application/json</p>\n<p>parameter</p>\n<p>email: string\npassword: string</p>\n<p>return \nAuthorization Token with login id</p>\n","urlObject":{"protocol":"https","path":["api","login"],"host":["url","com"],"query":[{"key":"email","value":"rider@email.com"},{"key":"password","value":"rootadmin"}],"variable":[]}},"response":[],"_postman_id":"71066e41-5a34-4a29-8103-3371cf5fabb9"}]}