{"info":{"_postman_id":"054e3e3d-b237-41b1-bad5-dbbbd5ef2ac9","name":"Flone","description":"<html><head></head><body><h1 id=\"flone\"><strong>FLONE</strong></h1>\n<p>This is an API for multivendor ecommerce store that allow individual store owner called seller to register and create store. Then each seller can create products and get listed on flone website, this services is share some similarities with Jumia, Jiji, etc.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"FLONE","slug":"flone"}],"owner":"19934289","collectionId":"054e3e3d-b237-41b1-bad5-dbbbd5ef2ac9","publishedId":"2sA3JGf3nx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-05-04T22:36:04.000Z"},"item":[{"name":"product","item":[{"name":"create-product","id":"dd5726c2-f38a-4d24-9cef-8f680c677f47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"shoe\",\n    \"description\": \"shoeeeee\",\n    \"category\": \"shoe\",\n    \"discountPrice\": 20,\n    \"stock\": 2,\n    \"images\": \"/Users/macchine/Documents/idcard.jpeg\",\n    \"shopId\": \"662f76ff53da0cc95409de8a\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/product/create-product","urlObject":{"protocol":"http","port":"8000","path":["api","v1","product","create-product"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd5726c2-f38a-4d24-9cef-8f680c677f47"}],"id":"0c27d1a9-00b0-48d1-b6ef-2090c1dfeb44","_postman_id":"0c27d1a9-00b0-48d1-b6ef-2090c1dfeb44","description":""},{"name":"shop","item":[{"name":"create-shop","id":"3abc8997-f438-4c2b-9699-2cdf35c4d855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/seller/create-seller","urlObject":{"protocol":"http","port":"8000","path":["api","v1","seller","create-seller"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3abc8997-f438-4c2b-9699-2cdf35c4d855"}],"id":"bd472160-659d-44d5-93cb-0af4d30e4e9d","_postman_id":"bd472160-659d-44d5-93cb-0af4d30e4e9d","description":""},{"name":"payment","item":[{"name":"initialiseTransaction","id":"c65440e3-714a-4afe-9465-c465afd4e0d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"segunopaleti@gmail.com\",\n    \"totalPrice\": \"20000\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/payment/initialise-transaction","urlObject":{"protocol":"http","port":"8000","path":["api","v1","payment","initialise-transaction"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c65440e3-714a-4afe-9465-c465afd4e0d2"}],"id":"4b39d728-988d-4869-be85-9bd076f23967","_postman_id":"4b39d728-988d-4869-be85-9bd076f23967","description":""},{"name":"Register - createUser","id":"9dad22bb-c004-4faf-a535-a6899009fc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"s2\",\n    \"email\": \"segunopaleti@gmail.com\",\n    \"password\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/user/update-info","description":"<h2 id=\"user-creation-endpoint\"><strong>User Creation Endpoint</strong></h2>\n<p>Route: <a href=\"http://localhost:8000/api/v1/user/create-user\">http://localhost:8000/api/v1/user/create-user</a></p>\n<p>This endpoint provides the functionality of creating user, seller, buyer based on the role given.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","user","update-info"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9dad22bb-c004-4faf-a535-a6899009fc9d"},{"name":"Login","id":"6819b119-a3b2-4465-af69-aa13fd614070","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"segunopaleti@gmail.com\",\n    \"password\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/user/login","description":"<h2 id=\"login\"><strong>Login</strong></h2>\n<p>Route: <a href=\"http://localhost:8000/api/v1/user/login\">http://localhost:8000/api/v1/user/login</a></p>\n<p>This endpoint enables user to login successfully after authenticating and verifying that user has created account .</p>\n<p>Required field:</p>\n<p>email:</p>\n<p>password:</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6819b119-a3b2-4465-af69-aa13fd614070"},{"name":"Logout","id":"9ffefefd-621f-483c-a678-07ee179d6840","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/user/logout","description":"<h2 id=\"logout\"><strong>Logout</strong></h2>\n<p>Route: <a href=\"http://localhost:8000/api/v1/user/logout\">http://localhost:8000/api/v1/user/logout</a></p>\n<p>Calling this API endpoint removes and clear token from user cookies, therefore user has to login again to have access granted.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","user","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ffefefd-621f-483c-a678-07ee179d6840"},{"name":"Reset-password","id":"1d0a0e4e-2dbf-4618-823e-5f6a81477dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/user/reset-password","description":"<p>Reset Password</p>\n<p>Route:</p>\n<p>This route provide the features of resetting password through the valid email that user entered and OTP code is sent to the user email entered.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","user","reset-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d0a0e4e-2dbf-4618-823e-5f6a81477dd0"},{"name":"Reset-activation","id":"49e6be97-dd5a-43ab-9fcf-ab08eae2976a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8000/api/v1/user/reset-activation/","urlObject":{"protocol":"http","port":"8000","path":["api","v1","user","reset-activation",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"49e6be97-dd5a-43ab-9fcf-ab08eae2976a"},{"name":"Seller-Register","id":"738a5d5c-dbb7-44a7-9446-aada50a2354c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"segunopaleti@gmail.com\",\n    \"username\": \"segun\",\n    \"password\": \"tobi1234#\",\n    \"address\": \"FUTA North gate, Owolabi street.\",\n    \"phoneNumber\": 8108603111,\n    \"zipCode\": 4546\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/seller/create-seller","urlObject":{"protocol":"http","port":"8000","path":["api","v1","seller","create-seller"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"738a5d5c-dbb7-44a7-9446-aada50a2354c"},{"name":"Seller-Activation","id":"08f9db36-178a-4540-9d58-a98811850773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/api/v1/seller/activation/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5hbWUiOiJzZWd1biIsImVtYWlsIjoic2VndW5vcGFsZXRpQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoidG9iaTEyMzQjIiwiYXZhdGFyIjp7InB1YmxpY19pZCI6IiIsInVybCI6IiJ9LCJhZGRyZXNzIjoiRlVUQSBOb3J0aCBnYXRlLCBPd29sYWJpIHN0cmVldC4iLCJwaG9uZU51bWJlciI6ODEwODYwMzExMSwiemlwQ29kZSI6NDU0Nn0sImlhdCI6MTcxMzUyNzUyOSwiZXhwIjoxNzEzNTMxMTI5fQ.iiThMBUM2vY7iOmTAitwN-hvF63j4dLYdFfV4j3taQI","urlObject":{"protocol":"http","port":"8000","path":["api","v1","seller","activation","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5hbWUiOiJzZWd1biIsImVtYWlsIjoic2VndW5vcGFsZXRpQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoidG9iaTEyMzQjIiwiYXZhdGFyIjp7InB1YmxpY19pZCI6IiIsInVybCI6IiJ9LCJhZGRyZXNzIjoiRlVUQSBOb3J0aCBnYXRlLCBPd29sYWJpIHN0cmVldC4iLCJwaG9uZU51bWJlciI6ODEwODYwMzExMSwiemlwQ29kZSI6NDU0Nn0sImlhdCI6MTcxMzUyNzUyOSwiZXhwIjoxNzEzNTMxMTI5fQ.iiThMBUM2vY7iOmTAitwN-hvF63j4dLYdFfV4j3taQI"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"08f9db36-178a-4540-9d58-a98811850773"}]}