{"info":{"_postman_id":"7d8eab46-c255-44c1-9bbb-648b578bb0ca","name":"PurpleLane POS Integration","description":"<html><head></head><body><p>PurpleLane App is designed to help you track your customers and incentivise your customers to be loyal to your brand. With Purplelane, you would be issuing digital reward cards to your customers and converting your walk-ins to regulars through a customised rewards programme designed by you for your customers.</p>\n<p>With Purplelane you get to know your customers through our partner portal to identify best customers, weekly regulars and keep engaging with your customers with a community based mobile app giving them perks to keep continuing to visit your store.</p>\n<h1 id=\"lets-get-started\">Let's get started</h1>\n<p>By becoming a Purplelane POS integration partner, you would be allowing your partnered stores to use our APIs and allow them to enrol their customers into a digital reward based programme and manage their loyalty points. What we need from the POS is, a mobile number, an invoice number and the bill amount.</p>\n<p>This API document helps you to navigate on how to get set up and start making requests to PurpleLane API.</p>\n<h1 id=\"how-to-register-to-purplelane\">How to Register to PurpleLane</h1>\n<p>Once your partner store registers an account with PurpleLane (<a href=\"http://www.purplelane.app\">www.purplelane.app</a>), they can use their login credientials to authenticate the user and start giving points to their customers.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Let's get started","slug":"lets-get-started"},{"content":"How to Register to PurpleLane","slug":"how-to-register-to-purplelane"}],"owner":"21258526","collectionId":"7d8eab46-c255-44c1-9bbb-648b578bb0ca","publishedId":"Uz5FLH4m","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-02T12:33:59.000Z"},"item":[{"name":"Authentication","item":[{"name":"Login","id":"e893dc66-3548-4748-8291-55187ca44e5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mobile","value":"<mobile>","type":"text"},{"key":"password","value":"<password>","type":"text"}]},"url":"https://purplelane.app/api/developers/login","description":"<p>Provide login details to obtain token for future API calls</p>\n","urlObject":{"protocol":"https","path":["api","developers","login"],"host":["purplelane","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"e893dc66-3548-4748-8291-55187ca44e5f"}],"id":"f7075fe7-cbb9-4ad1-813d-6e66674f9de1","_postman_id":"f7075fe7-cbb9-4ad1-813d-6e66674f9de1","description":""},{"name":"How to find redeemable points?","item":[{"name":"Get Redeemable Points","id":"9a9c1d69-68db-4831-88e4-1f738cf227bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://purplelane.app/api/developers/get-redeemable-points?mobile=<mobile>","urlObject":{"protocol":"https","path":["api","developers","get-redeemable-points"],"host":["purplelane","app"],"query":[{"key":"mobile","value":"<mobile>"}],"variable":[]}},"response":[],"_postman_id":"9a9c1d69-68db-4831-88e4-1f738cf227bc"}],"id":"2cbedf38-961d-4930-8744-37db06a8ef82","_postman_id":"2cbedf38-961d-4930-8744-37db06a8ef82","description":""},{"name":"How to add points?","item":[{"name":"Add Point/Visit","id":"517beb3b-9330-49cb-8ee5-1f6e648cb1ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mobile","value":"<mobile>","type":"text"},{"key":"amount","value":"<amount>","type":"text"},{"key":"bill_no","value":"<bill_no>","type":"text"}]},"url":"https://purplelane.app/api/developers/add-visit","description":"<p>Add points to card</p>\n","urlObject":{"protocol":"https","path":["api","developers","add-visit"],"host":["purplelane","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"517beb3b-9330-49cb-8ee5-1f6e648cb1ef"}],"id":"7337e94e-b4bf-4d5a-806b-f64934a178fc","_postman_id":"7337e94e-b4bf-4d5a-806b-f64934a178fc","description":""},{"name":"How to redeem points?","item":[{"name":"Redeem Points","id":"1261a669-044f-432f-87f4-91f150250f91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mobile","value":"<mobile>","type":"text"},{"key":"amount","value":"<amount>","type":"text"},{"key":"bill_no","value":"<bill_no>","type":"text"}]},"url":"https://purplelane.app/api/developers/redeem-points","description":"<p>Add points to card</p>\n","urlObject":{"protocol":"https","path":["api","developers","redeem-points"],"host":["purplelane","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"1261a669-044f-432f-87f4-91f150250f91"}],"id":"bd500750-6612-4695-8875-72ad3acb61a5","_postman_id":"bd500750-6612-4695-8875-72ad3acb61a5","description":""}]}