{"info":{"_postman_id":"c355df07-211d-46c9-b3cf-373aa6af026b","name":"Driver App","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8538142","collectionId":"c355df07-211d-46c9-b3cf-373aa6af026b","publishedId":"TWDWJwwj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-02-18T20:00:39.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","id":"fd7398a7-4856-493d-9c99-5e8c3bf42e14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","type":"text","value":"{{driver_email}}"},{"key":"password","type":"text","value":"{{driver_password}}"}]},"url":"{{api_url}}/driver/auth/gettoken","description":"<p>Login user and get the token</p>\n","urlObject":{"path":["driver","auth","gettoken"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd7398a7-4856-493d-9c99-5e8c3bf42e14"},{"name":"Register","id":"b39a6cf8-2eae-416f-9392-1719ba508329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","type":"text","value":"JOHN DOE"},{"key":"email","value":"john@example.com","type":"text"},{"key":"phone","value":"123456789121","type":"text"},{"key":"password","value":"123456789","type":"text"}]},"url":"{{api_url}}/driver/auth/register","description":"<p>Login user and get the token</p>\n","urlObject":{"path":["driver","auth","register"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b39a6cf8-2eae-416f-9392-1719ba508329"},{"name":"Get user data","id":"1b0a2993-d7c0-4cab-915a-c7885084120c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/driver/auth/data?api_token={{driver_api_token}}","description":"<p>Get current user logged in data</p>\n","urlObject":{"path":["driver","auth","data"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"1b0a2993-d7c0-4cab-915a-c7885084120c"},{"name":"Make Driver Online","id":"49b801b7-c469-4a47-a7b2-b5619727fa82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{api_url}}/driver/auth/driveronline?api_token={{driver_api_token}}","description":"<p>Login user and get the token</p>\n","urlObject":{"path":["driver","auth","driveronline"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"49b801b7-c469-4a47-a7b2-b5619727fa82"},{"name":"Make Driver Offline","id":"ba9c9180-11e1-4907-9c9e-08c6f0fe1dab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{api_url}}/driver/auth/drveroffline?api_token={{driver_api_token}}","description":"<p>Login user and get the token</p>\n","urlObject":{"path":["driver","auth","drveroffline"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"ba9c9180-11e1-4907-9c9e-08c6f0fe1dab"},{"name":"Deactivate","id":"d3aa46a2-e845-450b-a242-be5740c291d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/driver/auth/deactivate?api_token={{driver_api_token}}","description":"<p>Deactivate user</p>\n","urlObject":{"path":["driver","auth","deactivate"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"d3aa46a2-e845-450b-a242-be5740c291d5"}],"id":"575e074d-352b-485d-bb48-8c081d4ccd70","_postman_id":"575e074d-352b-485d-bb48-8c081d4ccd70","description":""},{"name":"Orders","item":[{"name":"List of orders","id":"4d88cb53-ef94-4cf9-9452-fb2e4368ebc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"4d88cb53-ef94-4cf9-9452-fb2e4368ebc2"},{"name":"Order info","id":"1fda6dd7-5d7f-44a7-98a1-10147341a417","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/order/1?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders","order","1"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"1fda6dd7-5d7f-44a7-98a1-10147341a417"},{"name":"Earnings","id":"432d9a50-aaa4-486f-9304-762b0e20ad2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/earnings?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders","earnings"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"432d9a50-aaa4-486f-9304-762b0e20ad2e"},{"name":"Update order status","id":"28680be1-2350-48eb-8391-a774a53aae42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/updateorderstatus/{{order_id}}/{{status_id}}?api_token={{driver_api_token}}&comment={{comment_from_driver}}","urlObject":{"path":["driver","orders","updateorderstatus","{{order_id}}","{{status_id}}"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"},{"key":"comment","value":"{{comment_from_driver}}"}],"variable":[]}},"response":[],"_postman_id":"28680be1-2350-48eb-8391-a774a53aae42"},{"name":"Update order location","id":"04ad4917-960c-4475-ba2d-8ce265821efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/updateorderlocation/{{order_id}}/{{lat}}/{{lng}}?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders","updateorderlocation","{{order_id}}","{{lat}}","{{lng}}"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"04ad4917-960c-4475-ba2d-8ce265821efa"},{"name":"Reject order","id":"a0fa832d-df31-4452-b52c-38b8eab5532b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/rejectorder/{{order_id}}?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders","rejectorder","{{order_id}}"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"a0fa832d-df31-4452-b52c-38b8eab5532b"},{"name":"Accept order","id":"6573e21e-8277-401b-830c-2a7269c5b154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/driver/orders/acceptorder/{{order_id}}?api_token={{driver_api_token}}","urlObject":{"path":["driver","orders","acceptorder","{{order_id}}"],"host":["{{api_url}}"],"query":[{"key":"api_token","value":"{{driver_api_token}}"}],"variable":[]}},"response":[],"_postman_id":"6573e21e-8277-401b-830c-2a7269c5b154"}],"id":"613fd1b9-5bc3-4313-8960-698ad5815109","_postman_id":"613fd1b9-5bc3-4313-8960-698ad5815109","description":""},{"name":"Settings","item":[{"name":"App settings","id":"40ce492d-73ed-4953-a634-0f24caa1897b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/vendor/settings","urlObject":{"path":["vendor","settings"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40ce492d-73ed-4953-a634-0f24caa1897b"}],"id":"48160c96-68c5-4a3f-97e4-305d2b6f7cef","_postman_id":"48160c96-68c5-4a3f-97e4-305d2b6f7cef","description":""}]}