{"info":{"_postman_id":"7e4d8c09-6d2f-445e-b008-f58ebd4fcb9c","name":"InventoryManagement","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"26606017","collectionId":"7e4d8c09-6d2f-445e-b008-f58ebd4fcb9c","publishedId":"2sB2cRD4dV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-04-01T08:48:54.000Z"},"item":[{"name":"Auth","item":[{"name":"Register User","id":"db1dc120-ea61-43f8-aa78-7b7eaf46e44e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Vedang Joshi\",\r\n    \"email\": \"vedang2607@gmail.com\",\r\n    \"password\": \"Vedang@26\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/auth/register","description":"<p>This api creates a new user into the system</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"db1dc120-ea61-43f8-aa78-7b7eaf46e44e"},{"name":"Login User","id":"59d1f087-6374-4415-9160-060faca6dd8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"vedang2607@gmail.com\",\r\n    \"password\": \"Vedang@26\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/auth/login","description":"<p>This api validates and authenticates the user and generates a token.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"59d1f087-6374-4415-9160-060faca6dd8c"}],"id":"97698137-bdac-4392-b527-7363bd8042c9","_postman_id":"97698137-bdac-4392-b527-7363bd8042c9","description":""},{"name":"Inventory","item":[{"name":"Add product ","id":"d3fb1048-270c-4630-ae02-07d0d368582f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_name\": \"Wireless Mouse\",\r\n    \"quantity\": 4,\r\n    \"price\": 30,\r\n    \"supplier_name\": \"Tech Supplies Ltd.\",\r\n    \"category\": \"Electronics\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/inventory","description":"<p>This api allows users to add product into the inventory</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3fb1048-270c-4630-ae02-07d0d368582f"},{"name":"Get Product","id":"52f25ff1-11c0-44e2-9660-f1b1fa644aa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g","type":"text"}],"url":"http://localhost:8000/api/inventory/:id","description":"<p>This api allows to retrieve the product by id.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory",":id"],"host":["localhost"],"query":[],"variable":[{"id":"ed1b32ce-9f3c-4d49-a7d2-b359ce2047b9","type":"any","value":"7f043ca1-60ed-4c74-9951-b06d37ade28a","key":"id"}]}},"response":[],"_postman_id":"52f25ff1-11c0-44e2-9660-f1b1fa644aa6"},{"name":"Update Product","id":"3182d008-b872-4d33-9524-58797c5ecf5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 50,\r\n    \"price\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/inventory/:id","description":"<p>This api allows users to update their product</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory",":id"],"host":["localhost"],"query":[],"variable":[{"id":"ce904b4a-95b6-4d3c-aee2-2bbc01b548be","type":"any","value":"7f043ca1-60ed-4c74-9951-b06d37ade28a","key":"id"}]}},"response":[],"_postman_id":"3182d008-b872-4d33-9524-58797c5ecf5d"},{"name":"Delete Product","id":"62623ffc-44d1-4e4d-ba4c-80c2f1e1d71d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g ","type":"text"}],"url":"http://localhost:8000/api/inventory/:id","description":"<p>This api allows users to delete items from the inventory.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory",":id"],"host":["localhost"],"query":[],"variable":[{"id":"cce16688-374e-4cff-a726-3dbe3b8236fc","type":"any","value":"7f043ca1-60ed-4c74-9951-b06d37ade28a","key":"id"}]}},"response":[],"_postman_id":"62623ffc-44d1-4e4d-ba4c-80c2f1e1d71d"},{"name":"Get All Products","id":"c9dbffe2-d8ee-49d0-859a-b92bef655895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g","type":"text"}],"url":"http://localhost:8000/api/inventory","description":"<p>This api fetches all the products of the logged in user</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9dbffe2-d8ee-49d0-859a-b92bef655895"},{"name":"Get Low Stock Products","id":"76ea6353-75b3-4024-bd3d-34c6df49e767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhhMmZjNzFiLTlmZWQtNDZiZS04ODQyLTA4ZjM4YmU4YzZlZCIsInVzZXJuYW1lIjoiVmVkYW5nIEpvc2hpIiwiaWF0IjoxNzQzNDIyOTc2LCJleHAiOjE3NDM0MjY1NzZ9.YIIlJ6kIQUFlb3PwKJf3NO1hb78ggwjJ_KDo8WruI3g","type":"text"}],"url":"http://localhost:8000/api/inventory/low-stock","description":"<p>This api allows users to fetch the low stock items from the inventory.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","inventory","low-stock"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"76ea6353-75b3-4024-bd3d-34c6df49e767"}],"id":"42aa871f-4cc0-4a5b-8366-1405c9fd73ba","_postman_id":"42aa871f-4cc0-4a5b-8366-1405c9fd73ba","description":""}]}