{"info":{"_postman_id":"4898a4fc-7cb4-4c69-850b-ec2aa55cdc20","name":"Kijani Apis","description":"<html><head></head><body><p>This is a collection of APIs that interact with the Kijani System.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5142796","collectionId":"4898a4fc-7cb4-4c69-850b-ec2aa55cdc20","publishedId":"2s9YXb8kR4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-30T17:25:51.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","id":"ee75048c-2da0-4ec1-a01a-635224f72b62","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"admin@admin.com\",\n    \"password\":\"password1\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/login","description":"<p>StartFragment</p>\n<p>This API endpoint allows users to log in to their Kijani accounts by providing valid credentials (email address &amp; password). It is used to authenticate users and generate a session token for subsequent API requests.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","login"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee75048c-2da0-4ec1-a01a-635224f72b62"},{"name":"Register","id":"dc4c8673-98db-4986-a670-c7a5e149a856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"kijani\",\n    \"email\":\"admin@admin.comm\",\n    \"username\":\"admin\",\n    \"phone_number\":\"0700900900\"\n}"},"url":"http://localhost:8000/api/register","description":"<p>StartFragment</p>\n<p>The Register API enables new users to create Kijani accounts. It accepts user information, including name, username, email, and phone number and creates a new user account in our system. This endpoint is used during the initial account setup process for new users.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","register"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc4c8673-98db-4986-a670-c7a5e149a856"}],"id":"44e30935-ece8-413a-bb1d-3f2e6049bfb9","description":"<p>StartFragment</p>\n<p>This folder contains the Authentication APIs for Kijani. These APIs are responsible for user registration and login processes, providing secure access to our platform. Use the \"Login API\" to authenticate existing users, and the \"Register API\" to create new user accounts.</p>\n<p>EndFragment</p>\n","_postman_id":"44e30935-ece8-413a-bb1d-3f2e6049bfb9"},{"name":"Users","item":[{"name":"Create User","id":"f61d718d-2f1e-4e1d-96b0-b438146530e4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Kijani\",\n    \"email\":\"info@kijani.co\",\n    \"username\":\"Kijani\",\n    \"phone_number\":\"0700000000\"\n}"},"url":"http://localhost:8000/api/createUser","description":"<p>StartFragment</p>\n<p>Use this API to create new user accounts. Administrators can add users to the system, specifying user details such as name, username, email and phone number.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","createUser"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f61d718d-2f1e-4e1d-96b0-b438146530e4"},{"name":"Fetch Customers","id":"4c546190-320b-464b-848a-e5d52930a202","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/users","description":"<p>StartFragment</p>\n<p>This API allows administrators to retrieve customer information. It provides access to data about registered customers, offering valuable insights for administrative and analytical purposes.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","users"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c546190-320b-464b-848a-e5d52930a202"}],"id":"3125e1da-3cc6-4dda-9cc9-b63a735b4d4e","description":"<p>StartFragment</p>\n<p>This folder includes APIs related to user management, designed for administrative purposes. Administrators use these APIs to create new user accounts and retrieve customer information.</p>\n<p>EndFragment</p>\n","_postman_id":"3125e1da-3cc6-4dda-9cc9-b63a735b4d4e"},{"name":"Products","item":[{"name":"Fetch Products","id":"3ba05747-ec98-4db4-b4d5-067c760a7eb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/products","description":"<p>StartFragment</p>\n<p>This API is used to retrieve a list of all products available on the Kijani platform. It provides detailed information about product listings, including names, images, brand, visibility, descriptions, prices, and availability.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","products"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ba05747-ec98-4db4-b4d5-067c760a7eb3"}],"id":"138dfe31-d7ae-4316-b201-fd502ae9349b","description":"<p>StartFragment</p>\n<p>This folder houses APIs related to product management within the Kijani application. The API is designed to retrieve information about different products available.</p>\n<p>EndFragment</p>\n","_postman_id":"138dfe31-d7ae-4316-b201-fd502ae9349b"},{"name":"Orders","item":[{"name":"Fetch Orders","id":"05fc3621-8c98-46bb-8b47-e8bdab0e7d1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/orders","description":"<p>StartFragment</p>\n<p>Use this API to retrieve a list of orders placed on the Kijani platform. It provides order details, such as order numbers, customer information(name), product listings, order status, order price, shipping costs and timestamps. This API is essential for monitoring and managing customer orders.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","orders"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"05fc3621-8c98-46bb-8b47-e8bdab0e7d1e"}],"id":"926ddf2d-0238-4a0d-b896-ea72ec1e912f","description":"<p>StartFragment</p>\n<p>This folder encompasses APIs related to order management in the Kijani application. Allows users to retrieve information about orders placed on our platform.</p>\n<p>EndFragment</p>\n","_postman_id":"926ddf2d-0238-4a0d-b896-ea72ec1e912f"},{"name":"Transactions","item":[{"name":"Fetch Transactions","id":"c644cd4f-048a-4bcb-81a5-de97df5e1e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/transactions","description":"<p>StartFragment</p>\n<p>Use this API to retrieve a list of orders placed on the Kijani platform. It provides order details, such as order numbers, customer information(name), product listings, order status, order price, shipping costs and timestamps. This API is essential for monitoring and managing customer orders.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","transactions"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c644cd4f-048a-4bcb-81a5-de97df5e1e17"},{"name":"Fetch Transactions By ID","id":"999126f1-b996-45b6-9c24-b7bc03e0c2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/transactions/{id}","description":"<p>StartFragment</p>\n<p>Use this API to retrieve a list of orders placed on the Kijani platform. It provides order details, such as order numbers, customer information(name), product listings, order status, order price, shipping costs and timestamps. This API is essential for monitoring and managing customer orders.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","transactions","{id}"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"999126f1-b996-45b6-9c24-b7bc03e0c2b3"},{"name":"Fetch Transactions By UserId","id":"edb63fcc-3ae2-4661-bc13-56a1e823b1dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/users/{userId}/transactions","description":"<p>StartFragment</p>\n<p>Use this API to retrieve a list of orders placed on the Kijani platform. It provides order details, such as order numbers, customer information(name), product listings, order status, order price, shipping costs and timestamps. This API is essential for monitoring and managing customer orders.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","users","{userId}","transactions"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"edb63fcc-3ae2-4661-bc13-56a1e823b1dd"}],"id":"51fad4dc-761d-427d-bdec-ed22feaf4d53","description":"<p>StartFragment</p>\n<p>This folder encompasses APIs related to transactions in the Kijani application. Allows users to retrieve information about transactions placed on our platform.</p>\n<p>EndFragment</p>\n","_postman_id":"51fad4dc-761d-427d-bdec-ed22feaf4d53"},{"name":"Quotations","item":[{"name":"Fetch Quotations","id":"a27750ae-1714-4d4a-846f-fe3e4cd423a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/quotations","description":"<p>StartFragment</p>\n<p>The API is used to retrieve a list of quotations generated on the Kijani platform. It provides details about quotations, including quotation numbers, customer information, product listings, quotation status, quoted price and timestamps. This API is essential for reviewing and managing the quotations issued to customers.</p>\n<p>EndFragment</p>\n","urlObject":{"path":["api","quotations"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a27750ae-1714-4d4a-846f-fe3e4cd423a2"}],"id":"a957625e-2000-4b15-a7b2-2db9dd6ae2e5","description":"<p>StartFragment</p>\n<p>This folder houses APIs related to managing quotations within the Kijani application.</p>\n<p>EndFragment</p>\n","_postman_id":"a957625e-2000-4b15-a7b2-2db9dd6ae2e5"},{"name":"Stores","item":[{"name":"Create Store","id":"ef514d02-60e8-422c-8280-dd47bcb4bac9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"shopname\":\"Kijani\",\n    \"shopemail\":\"info@kijani.co\",\n    \"email\":\"info@kijani.co\",\n    \"username\":\"Kijani\",\n    \"shopphone\":\"0700000000\"\n}"},"url":"http://localhost:8000/api/createStore","urlObject":{"protocol":"http","port":"8000","path":["api","createStore"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef514d02-60e8-422c-8280-dd47bcb4bac9"}],"id":"af61d5c7-7f48-4cf1-b629-b77bff1799ac","_postman_id":"af61d5c7-7f48-4cf1-b629-b77bff1799ac","description":""}],"variable":[{"key":"url","value":"http://locahost:8000"},{"key":"base_url","value":"http://localhost:8000"}]}