{"info":{"_postman_id":"57d30505-4002-4ee1-b323-e98670ee4141","name":"Elevate Flower App","description":"<html><head></head><body><p>Welcome to our Flower App Api! 🌸🌼🌺</p>\n<p>Discover the beauty of nature at your fingertips with our Flower App. Whether you're a seasoned botanist or just someone who appreciates the elegance of flowers, this app is your ultimate companion.</p>\n<img src=\"https://content.pstmn.io/fd0e4e28-1aac-406b-9bca-f674c0b868ae/RkJfSU1HXzE3MjgxMjE0MzgxODIuanBn\" alt=\"\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5709532","collectionId":"57d30505-4002-4ee1-b323-e98670ee4141","publishedId":"2sAY52cKZg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-09T11:36:01.000Z"},"item":[{"name":"Authentication","item":[{"name":"signup","id":"0b86e9e0-9689-4188-9237-5b1308059d5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\":\"Elevate\",\n    \"lastName\":\"Tech\",\n    \"email\":\"ahmedmutti2201@gmail.com\",\n    \"password\":\"Ahmed@123\",\n    \"rePassword\":\"Ahmed@123\",\n    \"phone\":\"+201010700999\",\n    \"gender\":\"male\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/signup","urlObject":{"protocol":"https","path":["api","v1","auth","signup"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b86e9e0-9689-4188-9237-5b1308059d5d"},{"name":"signin","id":"72225802-3f79-40ae-88ab-f67e87eaf147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"ahmedmutti@gmail.com\",\n    \"password\":\"Ahmed@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/signin","urlObject":{"protocol":"https","path":["api","v1","auth","signin"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"72225802-3f79-40ae-88ab-f67e87eaf147"},{"name":"change password","id":"53e4c45c-491f-493d-86a6-13875471989c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk"}],"body":{"mode":"raw","raw":"{\n    \"password\":\"Ahmed@123\",\n    \"newPassword\":\"Ahmed@1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/change-password","urlObject":{"protocol":"https","path":["api","v1","auth","change-password"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"53e4c45c-491f-493d-86a6-13875471989c"},{"name":"upload profile photo","id":"09ca4a22-e525-44fd-af95-3d614964526f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjQ1YmYwOWU4NjkyNzE1YzBkMGY1Iiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzI1NzI3Mjd9.KmLMLa8Yv3ua8Wpem3SZ-LN2hb9m3HM-XoBjB5820Mo"}],"body":{"mode":"formdata","formdata":[{"key":"photo","description":"<p>Maximum file size limit  4 megabytes</p>\n","type":"file","src":"/Users/ahmedabdal-muti/Desktop/refactor.png"}]},"url":"https://flower.elevateegy.com/api/v1/auth/upload-photo","urlObject":{"protocol":"https","path":["api","v1","auth","upload-photo"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"09ca4a22-e525-44fd-af95-3d614964526f"},{"name":"Get logged User Data","id":"446163f6-c062-4802-b905-43af15ca5798","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk"}],"body":{"mode":"raw","raw":""},"url":"https://flower.elevateegy.com/api/v1/auth/profile-data","urlObject":{"protocol":"https","path":["api","v1","auth","profile-data"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"446163f6-c062-4802-b905-43af15ca5798"},{"name":"logout","id":"c59e2874-a655-4d5d-b90c-6d3f92051d9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjQ1YmYwOWU4NjkyNzE1YzBkMGY1Iiwicm9sZSI6InVzZXIiLCJpYXQiOjE3Mzg5NDcwNjR9.LEMlHR0LfWciddOyYqG6-7VqZIl_Sa7GEteloGWk024"}],"body":{"mode":"raw","raw":""},"url":"https://flower.elevateegy.com/api/v1/auth/logout","urlObject":{"protocol":"https","path":["api","v1","auth","logout"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c59e2874-a655-4d5d-b90c-6d3f92051d9a"},{"name":"forgot password","id":"234e6307-f775-40b5-b1b8-966253529eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"ahmedmutii@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/forgotPassword","urlObject":{"protocol":"https","path":["api","v1","auth","forgotPassword"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"234e6307-f775-40b5-b1b8-966253529eeb"},{"name":"Verify Reset","id":"7ac3effd-1e70-4b18-b596-d101ae436678","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"resetCode\":\"754274\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/verifyResetCode","urlObject":{"protocol":"https","path":["api","v1","auth","verifyResetCode"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ac3effd-1e70-4b18-b596-d101ae436678"},{"name":"Reset Password","id":"34efccb5-4c79-4306-9ae1-33207050edb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"ahmedmutti@gmail.com\",\n    \"newPassword\": \"Ahmed1@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/resetPassword","urlObject":{"protocol":"https","path":["api","v1","auth","resetPassword"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"34efccb5-4c79-4306-9ae1-33207050edb5"},{"name":"delete my account","id":"12aa0f9a-1122-4ce1-a928-63d56b637cda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk","type":"text"}],"url":"https://flower.elevateegy.com/api/v1/auth/deleteMe","urlObject":{"protocol":"https","path":["api","v1","auth","deleteMe"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"12aa0f9a-1122-4ce1-a928-63d56b637cda"},{"name":"edit profile","id":"b56144ec-3574-4936-9a2b-7f3b27209f22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjQ1YmYwOWU4NjkyNzE1YzBkMGY1Iiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzI1NzIwMjd9.E--27CIqNH7S597tFoG4jSPUrIYsCLlGrdlESqKs06g","type":"text"}],"body":{"mode":"raw","raw":"{\n     \"lastName\":\"Tech2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/auth/editProfile","urlObject":{"protocol":"https","path":["api","v1","auth","editProfile"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56144ec-3574-4936-9a2b-7f3b27209f22"},{"name":"change user role","id":"ec5de1e9-7c43-4039-afab-4e5a81485222","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"role\":\"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/auth/update-role/66a98dd6abbf4b0fceb0491a","urlObject":{"path":["api","v1","auth","update-role","66a98dd6abbf4b0fceb0491a"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec5de1e9-7c43-4039-afab-4e5a81485222"}],"id":"2c10001a-2a88-47ec-84c6-b2d3ace8f5e3","description":"<p>The \"Authentication\" folder houses a series of requests that demonstrate crucial authentication processes such as user signup, signin, token generation, and more. These requests serve as a practical guide for developers to understand and test the authentication functionalities of your API.</p>\n<p><strong>Folder Structure:</strong></p>\n<ol>\n<li><p><strong>Signup Request:</strong></p>\n<ul>\n<li>Simulates the user registration process by sending user details such as email, username, and password to create a new account.</li>\n</ul>\n</li>\n<li><p><strong>Signin Request:</strong></p>\n<ul>\n<li>Initiates the user authentication process by sending login credentials (email/username and password) to obtain access to the application.</li>\n</ul>\n</li>\n<li><p><strong>Token Generation Request:</strong></p>\n<ul>\n<li>Illustrates how to generate authentication tokens (JWT, OAuth tokens, etc.) upon successful authentication for subsequent authorized requests.</li>\n</ul>\n</li>\n<li><p><strong>Password Reset Request:</strong></p>\n<ul>\n<li>Demonstrates the process of initiating a password reset by sending a reset link to the user's email address.</li>\n</ul>\n</li>\n<li><p>Forget password</p>\n</li>\n<li><p><strong>Profile Update Request:</strong></p>\n<ul>\n<li>Allows users to update their profile information by sending a request with modified user details.</li>\n</ul>\n</li>\n<li><p>Logout</p>\n</li>\n</ol>\n","_postman_id":"2c10001a-2a88-47ec-84c6-b2d3ace8f5e3"},{"name":"Products","item":[{"name":"create product","id":"7598c1c1-f07e-4237-b4cc-b8a5465505d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Wfoan aasdqqsss","type":"text"},{"key":"description","value":"Material\\tPolyester Blend\\nColour Name\\tMulticolour\\nDepartment\\tWomen","type":"text"},{"key":"quantity","value":" 220","type":"text"},{"key":"price","value":" 221","type":"text"},{"key":"discount","value":"50","type":"text"},{"key":"priceAfterDiscount","value":"100","type":"text"},{"key":"category","value":"6407e96c5bbc6e43516931d7","type":"text"},{"key":"occasion","value":"6407e96c5bbc6e43516931d7","type":"text"},{"key":"imgCover","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/eniac-the-second-electronic-calculator-los-alamos-national-laboratory.jpg"],"src":"/Users/ahmedabdal-muti/Desktop/code.png"},{"key":"images","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"],"src":"/Users/ahmedabdal-muti/Desktop/code.png"}]},"url":"https://flower.elevateegy.com/api/v1/products","urlObject":{"protocol":"https","path":["api","v1","products"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7598c1c1-f07e-4237-b4cc-b8a5465505d8"},{"name":"get all products","id":"8d51fe4a-76ba-4c43-8a99-06c941833461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/products","urlObject":{"protocol":"https","path":["api","v1","products"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d51fe4a-76ba-4c43-8a99-06c941833461"},{"name":"get specific product","id":"3d01fed7-3bcd-4f0d-a3c5-b3ad326ec787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/products/64ca8fce4ba9b5bfb699f30f","urlObject":{"protocol":"https","path":["api","v1","products","64ca8fce4ba9b5bfb699f30f"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d01fed7-3bcd-4f0d-a3c5-b3ad326ec787"},{"name":"update product","id":"1e1d8fd9-2891-48db-993b-13a41cd456dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 440,\r\n    \"rateAvg\": 3.5,\r\n    \"rateCount\": 30\r\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/products/673e1cd711599201718280fb","urlObject":{"protocol":"https","path":["api","v1","products","673e1cd711599201718280fb"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e1d8fd9-2891-48db-993b-13a41cd456dd"},{"name":"delete product","id":"b627cfd5-f702-4715-bf69-a732c40effdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://flower.elevateegy.com/api/v1/products/673e2d1b1159920171828146","urlObject":{"protocol":"https","path":["api","v1","products","673e2d1b1159920171828146"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b627cfd5-f702-4715-bf69-a732c40effdf"},{"name":"count-by-category","id":"a6f21c43-3982-45b9-9dec-e94713065dd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/products/count-by-category","urlObject":{"protocol":"https","path":["products","count-by-category"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6f21c43-3982-45b9-9dec-e94713065dd1"}],"id":"429b076c-19ba-4713-9574-f7b0a7c51b2b","_postman_id":"429b076c-19ba-4713-9574-f7b0a7c51b2b","description":""},{"name":"Categories","item":[{"name":"add category","id":"e77bfdfc-e144-4e5e-bf2a-aa68b8f683cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"electronicssdsssks","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"],"src":"/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"}]},"url":"https://flower.elevateegy.com/api/v1/categories","urlObject":{"protocol":"https","path":["api","v1","categories"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e77bfdfc-e144-4e5e-bf2a-aa68b8f683cb"},{"name":"all categories","id":"838cbe44-dac6-4517-a573-930791b72f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/categories","urlObject":{"protocol":"https","path":["api","v1","categories"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"838cbe44-dac6-4517-a573-930791b72f4c"},{"name":"get category","id":"fcefa746-ad52-4245-9afb-b47f29fbfdc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/categories/673c46fd1159920171827c85","urlObject":{"protocol":"https","path":["api","v1","categories","673c46fd1159920171827c85"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcefa746-ad52-4245-9afb-b47f29fbfdc1"},{"name":"update category","id":"d83845de-9f53-442f-92e9-483d004ead69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjZhOThmMGZhNmJhOTczZDUwMThhN2YxIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjIzOTI2MTZ9.QMjlW-kSb-qLkJ2tnHlPrXpNtXL-MQVpn2OLP7h7dSU","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"elctroots","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"],"src":"/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"}]},"url":"https://flower.elevateegy.com/api/v1/categories/66a9a03d4ab9b75ba10d63aa","urlObject":{"protocol":"https","path":["api","v1","categories","66a9a03d4ab9b75ba10d63aa"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d83845de-9f53-442f-92e9-483d004ead69"},{"name":"delete category","id":"f3567cfe-2e43-4903-af6f-80c989e609d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjZhOThmMGZhNmJhOTczZDUwMThhN2YxIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjIzOTI2MTZ9.QMjlW-kSb-qLkJ2tnHlPrXpNtXL-MQVpn2OLP7h7dSU","type":"text"}],"url":"https://flower.elevateegy.com/api/v1/categories/66a9a03d4ab9b75ba10d63aa","urlObject":{"protocol":"https","path":["api","v1","categories","66a9a03d4ab9b75ba10d63aa"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3567cfe-2e43-4903-af6f-80c989e609d9"}],"id":"c34d137e-dc5d-4d00-bf04-84b4b21aa6b9","_postman_id":"c34d137e-dc5d-4d00-bf04-84b4b21aa6b9","description":""},{"name":"Occasions","item":[{"name":"add Occasion","id":"bc4bc7b4-f2bc-4467-9b2f-85948c3ab61a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"electronicssdsssw","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"],"src":"/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"}]},"url":"https://flower.elevateegy.com/api/v1/occasions","urlObject":{"protocol":"https","path":["api","v1","occasions"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc4bc7b4-f2bc-4467-9b2f-85948c3ab61a"},{"name":"all Occasions","id":"8ddf9ba9-0b0c-4d51-a214-2aae937f54b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/occasions","urlObject":{"protocol":"https","path":["api","v1","occasions"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ddf9ba9-0b0c-4d51-a214-2aae937f54b7"},{"name":"get Occasion","id":"853327f1-8ea5-4970-914d-b9ee5bb2027f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/occasions/6737bf29346d8ae782f75920","urlObject":{"protocol":"https","path":["api","v1","occasions","6737bf29346d8ae782f75920"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"853327f1-8ea5-4970-914d-b9ee5bb2027f"},{"name":"update Occasion","id":"b2bb70db-6c8b-4c70-90fb-e368014b98f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjZhOThmMGZhNmJhOTczZDUwMThhN2YxIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjIzOTI2MTZ9.QMjlW-kSb-qLkJ2tnHlPrXpNtXL-MQVpn2OLP7h7dSU","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"elctrootsw","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"],"src":"/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"}]},"url":"https://flower.elevateegy.com/api/v1/occasions/6737bf29346d8ae782f75920","urlObject":{"protocol":"https","path":["api","v1","occasions","6737bf29346d8ae782f75920"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2bb70db-6c8b-4c70-90fb-e368014b98f0"},{"name":"delete Occasion","id":"80a97e8d-ab0e-4229-8d6c-a4cbaa153a8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjZhOThmMGZhNmJhOTczZDUwMThhN2YxIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjIzOTI2MTZ9.QMjlW-kSb-qLkJ2tnHlPrXpNtXL-MQVpn2OLP7h7dSU","type":"text"}],"url":"https://flower.elevateegy.com/api/v1/occasions/6737bf29346d8ae782f75920","urlObject":{"protocol":"https","path":["api","v1","occasions","6737bf29346d8ae782f75920"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"80a97e8d-ab0e-4229-8d6c-a4cbaa153a8f"}],"id":"f514a43f-157d-42ae-bcf7-6f0c2f228d85","_postman_id":"f514a43f-157d-42ae-bcf7-6f0c2f228d85","description":""},{"name":"Cart","item":[{"name":"Add Product To Cart","id":"c907dff1-c7f2-471d-85f4-0908aef26325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product\": \"673e1cd711599201718280fb\",\n    \"quantity\":1\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/cart","urlObject":{"protocol":"https","path":["api","v1","cart"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c907dff1-c7f2-471d-85f4-0908aef26325"},{"name":"Update cart product quantity","id":"7bcbc980-b0dc-46da-9d46-dce63c5f35ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": 20\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/cart/673e1cd711599201718280fb","urlObject":{"protocol":"https","path":["api","v1","cart","673e1cd711599201718280fb"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bcbc980-b0dc-46da-9d46-dce63c5f35ac"},{"name":"Get Logged user cart","id":"d7446c71-0500-4e30-a054-ce8dc0eaef24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/cart","urlObject":{"protocol":"https","path":["api","v1","cart"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7446c71-0500-4e30-a054-ce8dc0eaef24"},{"name":"Remove specific cart Item","id":"ccd5fbf5-6292-473f-874a-3f47a08eb6a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/cart/673e1cd711599201718280fb","urlObject":{"protocol":"https","path":["api","v1","cart","673e1cd711599201718280fb"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccd5fbf5-6292-473f-874a-3f47a08eb6a8"},{"name":"Clear user cart","id":"4decab14-39f9-4cb3-84e4-ef9cd60875fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/cart","urlObject":{"protocol":"https","path":["api","v1","cart"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4decab14-39f9-4cb3-84e4-ef9cd60875fb"}],"id":"b5ccc7f9-5106-48d0-9695-3afc6427f5f3","_postman_id":"b5ccc7f9-5106-48d0-9695-3afc6427f5f3","description":""},{"name":"Wishlist","item":[{"name":"Get Wishlist","id":"5a623f57-15a8-49b1-a745-851553bfcb4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/wishlist","description":"<p>Retrieves the current user's wishlist with all saved products. Products are returned with their details including title, image, price, and availability status.</p>\n","urlObject":{"path":["api","v1","wishlist"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a623f57-15a8-49b1-a745-851553bfcb4e"},{"name":"Add to Wishlist","id":"78c85121-eb96-41b2-89a2-7ec7a075380f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"productId\": \"673e2e1f1159920171828153\"\n}"},"url":"{{base_url}}/api/v1/wishlist/add","description":"<p>Adds a product to the user's wishlist. If the product is already in the wishlist, it will not be added again. Creates a new wishlist if the user doesn't have one yet.</p>\n","urlObject":{"path":["api","v1","wishlist","add"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"78c85121-eb96-41b2-89a2-7ec7a075380f"},{"name":"Remove from Wishlist","id":"85b97784-7e77-4f0a-95f4-8c9ac973efa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/wishlist/{{product_id}}","description":"<p>Removes a specific product from the user's wishlist. If the product is not in the wishlist, no action is taken.</p>\n","urlObject":{"path":["api","v1","wishlist","{{product_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"85b97784-7e77-4f0a-95f4-8c9ac973efa9"},{"name":"Clear Wishlist","id":"d761b45e-3e95-4a2c-b3d8-833c57015615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/wishlist/clear","description":"<p>Removes all products from the user's wishlist. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","wishlist","clear"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d761b45e-3e95-4a2c-b3d8-833c57015615"},{"name":"Check Product in Wishlist","id":"06dda478-f08e-4f07-9c84-8c0b51a47492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/wishlist/check/673e2e1f1159920171828153","description":"<p>Checks if a specific product is in the user's wishlist. Returns a boolean indicating whether the product is in the wishlist or not.</p>\n","urlObject":{"path":["api","v1","wishlist","check","673e2e1f1159920171828153"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06dda478-f08e-4f07-9c84-8c0b51a47492"}],"id":"e993bbc4-2ce6-46b1-b49f-1b2488225014","description":"<p>Endpoints for managing user wishlists</p>\n","_postman_id":"e993bbc4-2ce6-46b1-b49f-1b2488225014"},{"name":"Coupon","item":[{"name":"Create Coupon (Admin)","id":"84e2ff85-a287-4368-ae77-9ff826a0d1d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"SPRING2522\",\n  \"discountType\": \"percentage\",\n  \"discountValue\": 25,\n  \"minPurchase\": 50,\n  \"maxDiscount\": 100,\n  \"startDate\": \"2025-05-01T00:00:00.000Z\",\n  \"endDate\": \"2025-12-30T23:59:59.999Z\",\n  \"usageLimit\": 100,\n  \"applicableProducts\": [],\n  \"applicableCategories\": [],\n  \"applicableOccasions\": [],\n  \"isActive\": true\n}"},"url":"{{base_url}}/api/v1/coupons","description":"<p>Creates a new coupon in the system. Only accessible by admin users. The coupon can be configured with various parameters such as discount type, value, usage limits, and applicable products/categories/occasions.</p>\n","urlObject":{"path":["api","v1","coupons"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e2ff85-a287-4368-ae77-9ff826a0d1d8"},{"name":"Get All Coupons","id":"30f8e031-3319-4ab9-a872-0da8f8516d48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/coupons","description":"<p>Retrieves a list of all coupons in the system. Supports pagination, filtering, and sorting. Admin users can see all coupons including inactive ones, while regular users only see active coupons.</p>\n","urlObject":{"path":["api","v1","coupons"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"30f8e031-3319-4ab9-a872-0da8f8516d48"},{"name":"Get Coupon by ID","id":"6cc64c0b-8231-4c96-9435-3cdc165014bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/coupons/68c3dd5b94d42ea1a4d0674c","description":"<p>Retrieves a specific coupon by its ID. Returns detailed information about the coupon including its usage statistics.</p>\n","urlObject":{"path":["api","v1","coupons","68c3dd5b94d42ea1a4d0674c"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cc64c0b-8231-4c96-9435-3cdc165014bd"},{"name":"Update Coupon (Admin)","id":"25004a37-eb4f-4cc0-9b78-c2a7fda69dd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"discountType\": \"percentage\",\n  \"usageLimit\": 200\n}"},"url":"{{base_url}}/api/v1/coupons/68c3dd5b94d42ea1a4d0674c","description":"<p>Updates an existing coupon. Only accessible by admin users. Any coupon parameter can be modified including code, discount value, dates, and usage limits.</p>\n","urlObject":{"path":["api","v1","coupons","68c3dd5b94d42ea1a4d0674c"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"25004a37-eb4f-4cc0-9b78-c2a7fda69dd8"},{"name":"Delete Coupon (Admin)","id":"2ae8131c-eeda-4492-898d-2c13d09fe9e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{admin_token}}"}],"url":"{{base_url}}/api/v1/coupons/68c3dd5b94d42ea1a4d0674c","description":"<p>Deletes a coupon from the system. Only accessible by admin users. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","coupons","68c3dd5b94d42ea1a4d0674c"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ae8131c-eeda-4492-898d-2c13d09fe9e3"},{"name":"Apply Coupon","id":"de1cec67-fb6f-42fb-ace1-352fb6125d64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"SPRING2522\"\n}"},"url":"{{base_url}}/api/v1/coupons/apply","description":"<p>Applies a coupon to the user's cart. Validates the coupon code and calculates the discount. Returns the updated cart with the applied discount.</p>\n","urlObject":{"path":["api","v1","coupons","apply"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de1cec67-fb6f-42fb-ace1-352fb6125d64"},{"name":"Validate Coupon","id":"b075b97c-cc99-4774-b674-d3d78e532c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"SPRING2522\"\n}"},"url":"{{base_url}}/api/v1/coupons/validate","description":"<p>Validates a coupon code without applying it to the cart. Checks if the coupon exists, is active, and can be used by the current user. Returns validation status and discount details.</p>\n","urlObject":{"path":["api","v1","coupons","validate"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b075b97c-cc99-4774-b674-d3d78e532c21"}],"id":"8a5c1bfd-6b34-4259-a99b-1ef093ea8721","description":"<p>Endpoints for managing coupons and discounts</p>\n","_postman_id":"8a5c1bfd-6b34-4259-a99b-1ef093ea8721"},{"name":"Orders","item":[{"name":"Create Cash Order","id":"0fab2b3b-a643-4885-ba13-1d04b3e9b2ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"shippingAddress\":{\n        \"street\": \"details\",\n        \"phone\": \"01010800921\",\n        \"city\": \"Cairo\",\n        \"lat\": \"String\",\n        \"long\": \"String\"\n        }\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders","urlObject":{"protocol":"https","path":["api","v1","orders"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fab2b3b-a643-4885-ba13-1d04b3e9b2ac"},{"name":"getUserOrders","id":"fa4e15f9-3c02-4ac6-8fc8-f6a0f5f3bf13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders","urlObject":{"protocol":"https","path":["api","v1","orders"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa4e15f9-3c02-4ac6-8fc8-f6a0f5f3bf13"},{"name":"Checkout session","id":"b3aa1f12-a758-4f8e-bf26-dd76acc4a4e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"shippingAddress\": {\n        \"street\": \"details\",\n        \"phone\": \"01010700999\",\n        \"city\": \"Cairo\",\n        \"lat\": \"String\",\n        \"long\": \"String\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders/checkout?url=http://localhost:3000","urlObject":{"protocol":"https","path":["api","v1","orders","checkout"],"host":["flower","elevateegy","com"],"query":[{"key":"url","value":"http://localhost:3000"}],"variable":[]}},"response":[],"_postman_id":"b3aa1f12-a758-4f8e-bf26-dd76acc4a4e0"}],"id":"0b8ea5ba-1d76-40c5-9e5c-eceb3e2181d0","_postman_id":"0b8ea5ba-1d76-40c5-9e5c-eceb3e2181d0","description":""},{"name":"User Addresses","item":[{"name":"Add address","id":"c939b4d8-3ef9-496b-95e9-012da4bdc828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"street\": \"Home\",\n    \"phone\": \"01010700700\",\n    \"city\": \"Gizaa\",\n    \"lat\":\"z\",\n    \"long\":\"z\",\n    \"username\":\"ahmedmuti\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/addresses","urlObject":{"protocol":"https","path":["api","v1","addresses"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c939b4d8-3ef9-496b-95e9-012da4bdc828"},{"name":"update address","id":"fce31523-c0b8-4dbc-8052-2a6df6b61da3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"street\": \"Hom\",\n    \"phone\": \"01010700700\",\n    \"city\": \"Gizaa\",\n    \"lat\":\"z\",\n    \"long\":\"z\",\n    \"username\":\"ahmedmuti\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/addresses/678a810d8fd67911809f51a8","urlObject":{"protocol":"https","path":["api","v1","addresses","678a810d8fd67911809f51a8"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fce31523-c0b8-4dbc-8052-2a6df6b61da3"},{"name":"Remove address","id":"4bcb63e3-ed93-4e72-a4ac-e3524dc62156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/addresses/6747b11ba0f694a2b1b7f4b3","urlObject":{"protocol":"https","path":["api","v1","addresses","6747b11ba0f694a2b1b7f4b3"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bcb63e3-ed93-4e72-a4ac-e3524dc62156"},{"name":"Get logged user addresses","id":"b1bb1af1-681b-4a6c-9c77-dd3ba5173b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/addresses","urlObject":{"protocol":"https","path":["api","v1","addresses"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1bb1af1-681b-4a6c-9c77-dd3ba5173b68"}],"id":"f498b578-986a-4d51-97a0-b0cb923f80ed","_postman_id":"f498b578-986a-4d51-97a0-b0cb923f80ed","description":""},{"name":"Subscriptions","item":[{"name":"Subscribe","id":"220b2118-0e67-4356-a83e-7a04dcf09ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"subscriber@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/subscriptions/subscribe","description":"<p>Subscribe to the newsletter. No authentication required.</p>\n","urlObject":{"path":["api","v1","subscriptions","subscribe"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"220b2118-0e67-4356-a83e-7a04dcf09ade"},{"name":"Unsubscribe","id":"70efc18c-0dee-4f4d-aba3-02a4426e966a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"subscriber@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/subscriptions/unsubscribe","description":"<p>Unsubscribe from the newsletter. No authentication required.</p>\n","urlObject":{"path":["api","v1","subscriptions","unsubscribe"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70efc18c-0dee-4f4d-aba3-02a4426e966a"},{"name":"Get All Subscriptions (Admin)","id":"115432af-b7b1-4cf7-99ce-c64e8f7c71b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/subscriptions","description":"<p>Get all subscriptions. Only admins can access this endpoint.</p>\n","urlObject":{"path":["api","v1","subscriptions"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"115432af-b7b1-4cf7-99ce-c64e8f7c71b3"},{"name":"Get Subscription Counts (Admin)","id":"dcc4587f-85ae-4a5a-951e-98deb16c33c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/subscriptions/counts","description":"<p>Get counts of active and inactive subscriptions. Only admins can access this endpoint.</p>\n","urlObject":{"path":["api","v1","subscriptions","counts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcc4587f-85ae-4a5a-951e-98deb16c33c5"},{"name":"Delete Subscription (Admin)","id":"5e67a587-3741-4da2-9850-b43d8df1a815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/subscriptions/{{subscriptionId}}","description":"<p>Delete a subscription. Only admins can perform this action.</p>\n","urlObject":{"path":["api","v1","subscriptions","{{subscriptionId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e67a587-3741-4da2-9850-b43d8df1a815"}],"id":"92fefa21-3b74-4800-88ee-b59dcc9c12d4","description":"<p>Endpoints for managing newsletter subscriptions</p>\n","_postman_id":"92fefa21-3b74-4800-88ee-b59dcc9c12d4"},{"name":"Home Screen (Mobile)","item":[{"name":"home","id":"b4d054df-c13d-45ee-b7b5-65fafaa5194c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/home","urlObject":{"protocol":"https","path":["api","v1","home"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4d054df-c13d-45ee-b7b5-65fafaa5194c"},{"name":"Best seller","id":"eec31872-70ca-408a-b14a-eaaf014fa3d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/best-seller","urlObject":{"protocol":"https","path":["api","v1","best-seller"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eec31872-70ca-408a-b14a-eaaf014fa3d9"}],"id":"a1d737b3-09a0-49ab-81b4-c7f4d994bef5","_postman_id":"a1d737b3-09a0-49ab-81b4-c7f4d994bef5","description":""},{"name":"Driver(Mobile)","item":[{"name":"Driver Authentication","item":[{"name":"apply","id":"003e7f18-333e-4f8e-be1f-01aa541aef35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"country","value":"Egypt","type":"text"},{"key":"firstName","value":"Ahmed","type":"text"},{"key":"lastName","value":"Ali","type":"text"},{"key":"vehicleType","value":"676b31a45d05310ca82657ac","type":"text"},{"key":"vehicleNumber","value":"12221","type":"text"},{"key":"vehicleLicense","type":"file","src":"/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"},{"key":"NID","value":"12345678912345","type":"text"},{"key":"NIDImg","type":"file","src":"/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"},{"key":"email","value":"ahmedmutti@gmail.com","type":"text"},{"key":"password","value":"Ahmed@123","type":"text"},{"key":"rePassword","value":"Ahmed@123","type":"text"},{"key":"gender","value":"male","type":"text"},{"key":"phone","value":"+201010700888","type":"text"}]},"url":"https://flower.elevateegy.com/api/v1/drivers/apply","urlObject":{"protocol":"https","path":["api","v1","drivers","apply"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"003e7f18-333e-4f8e-be1f-01aa541aef35"},{"name":"signin","id":"a7e975dd-1f3b-4e32-bf20-326a4a8b5cfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"ahmedmutti@gmail.com\",\n    \"password\":\"Ahmed@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/signin","urlObject":{"protocol":"https","path":["api","v1","drivers","signin"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7e975dd-1f3b-4e32-bf20-326a4a8b5cfa"},{"name":"change password","id":"d82ab4fb-eb7c-440c-91b9-74832260d4fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk"}],"body":{"mode":"raw","raw":"{\n    \"password\":\"Ahmed@123\",\n    \"newPassword\":\"Ahmed@1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/change-password","urlObject":{"protocol":"https","path":["api","v1","drivers","change-password"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d82ab4fb-eb7c-440c-91b9-74832260d4fe"},{"name":"upload profile photo","id":"977b18c5-32d6-4e94-9035-5268ec93d647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjQ1YmYwOWU4NjkyNzE1YzBkMGY1Iiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzI1NzI3Mjd9.KmLMLa8Yv3ua8Wpem3SZ-LN2hb9m3HM-XoBjB5820Mo"}],"body":{"mode":"formdata","formdata":[{"key":"photo","description":"<p>Maximum file size limit  4 megabytes</p>\n","type":"file","src":"/Users/ahmedabdal-muti/Desktop/mu3ti.jpeg"}]},"url":"localhost:3001/api/v1/drivers/upload-photo","urlObject":{"port":"3001","path":["api","v1","drivers","upload-photo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"977b18c5-32d6-4e94-9035-5268ec93d647"},{"name":"Get logged Driver Data","id":"676b3b5d-ef77-4d07-8f7e-a6346f2cd04e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:3001/api/v1/drivers/profile-data","urlObject":{"port":"3001","path":["api","v1","drivers","profile-data"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"676b3b5d-ef77-4d07-8f7e-a6346f2cd04e"},{"name":"logout","id":"99e24d42-475a-4e9b-90ab-da12aa0f4893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk"}],"body":{"mode":"raw","raw":""},"url":"https://flower.elevateegy.com/api/v1/drivers/logout","urlObject":{"protocol":"https","path":["api","v1","drivers","logout"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"99e24d42-475a-4e9b-90ab-da12aa0f4893"},{"name":"forgot password","id":"a916a929-036f-4ffa-a70a-f2f5104218c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"Elevate@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/forgotPassword","urlObject":{"protocol":"https","path":["api","v1","drivers","forgotPassword"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a916a929-036f-4ffa-a70a-f2f5104218c7"},{"name":"Verify Reset","id":"5407611c-6304-4d5d-80cc-61801964d5d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"resetCode\":\"171286\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/verifyResetCode","urlObject":{"protocol":"https","path":["api","v1","drivers","verifyResetCode"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5407611c-6304-4d5d-80cc-61801964d5d9"},{"name":"Reset Password","id":"3128f594-17f1-43b4-bf53-72b45659b082","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"ahmedmutti@gmail.com\",\n    \"newPassword\": \"Ahmed1@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/resetPassword","urlObject":{"protocol":"https","path":["api","v1","drivers","resetPassword"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3128f594-17f1-43b4-bf53-72b45659b082"},{"name":"delete my account","id":"4163fd87-71b8-4983-b0a8-2f51f2447c46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjM1OGVjZjQyOWFmOGRhOWIyMzJjIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzExNDgwNTR9.KyB279_-JR-uL3e8ElOKWe36NXPptEm0Aq_rYTGGJVk","type":"text"}],"url":"https://flower.elevateegy.com/api/v1/drivers/deleteMe","urlObject":{"protocol":"https","path":["api","v1","drivers","deleteMe"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4163fd87-71b8-4983-b0a8-2f51f2447c46"},{"name":"edit profile","id":"eef5ae9e-5faf-4643-ba86-924a13e3734c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjcyZjQ1YmYwOWU4NjkyNzE1YzBkMGY1Iiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MzI1NzIwMjd9.E--27CIqNH7S597tFoG4jSPUrIYsCLlGrdlESqKs06g","type":"text"}],"body":{"mode":"raw","raw":"{\n     \"lastName\":\"Tech2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/drivers/editProfile","urlObject":{"protocol":"https","path":["api","v1","drivers","editProfile"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eef5ae9e-5faf-4643-ba86-924a13e3734c"}],"id":"ef7660d8-e49c-41af-99dc-8dddcaf898e0","_postman_id":"ef7660d8-e49c-41af-99dc-8dddcaf898e0","description":""},{"name":"Vehicle","item":[{"name":"add Vehicle","id":"ecc8b483-9042-4912-8c19-01e85ceac8cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"test","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"],"src":"/Users/ahmedabdal-muti/Desktop/FB_IMG_1728121438182.jpg"}]},"url":"https://flower.elevateegy.com/api/v1/vehicles","urlObject":{"protocol":"https","path":["api","v1","vehicles"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ecc8b483-9042-4912-8c19-01e85ceac8cf"},{"name":"all vehicle","id":"3c0c09b7-29d2-401b-9574-650633e893f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/vehicles","urlObject":{"protocol":"https","path":["api","v1","vehicles"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c0c09b7-29d2-401b-9574-650633e893f1"},{"name":"get Vehicle","id":"440c1073-00d8-47b8-8eeb-0430bceb7454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://flower.elevateegy.com/api/v1/vehicles/676b30e170a6e1389831b99c","urlObject":{"protocol":"https","path":["api","v1","vehicles","676b30e170a6e1389831b99c"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"440c1073-00d8-47b8-8eeb-0430bceb7454"},{"name":"update Vehicle","id":"1b4cc987-b97e-435d-9007-c5b6e0f3b284","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiNjZhOThmMGZhNmJhOTczZDUwMThhN2YxIiwicm9sZSI6InVzZXIiLCJpYXQiOjE3MjIzOTI2MTZ9.QMjlW-kSb-qLkJ2tnHlPrXpNtXL-MQVpn2OLP7h7dSU","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"elctrootsw","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"],"src":"/Users/ahmedabdal-muti/Desktop/Desktop/ecom img/brands/Apple.png"}]},"url":"https://flower.elevateegy.com/api/v1/vehicle/6737bf29346d8ae782f75920","urlObject":{"protocol":"https","path":["api","v1","vehicle","6737bf29346d8ae782f75920"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b4cc987-b97e-435d-9007-c5b6e0f3b284"},{"name":"delete vehicle","id":"138282d5-7fc5-492e-aa8f-7d70dd20b562","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://flower.elevateegy.com/api/v1/vehicles/676b31a45d05310ca82657ac","urlObject":{"protocol":"https","path":["api","v1","vehicles","676b31a45d05310ca82657ac"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"138282d5-7fc5-492e-aa8f-7d70dd20b562"}],"id":"068f4b0c-6f27-48b4-9ff7-2be4b1d1376a","_postman_id":"068f4b0c-6f27-48b4-9ff7-2be4b1d1376a","description":""},{"name":"Order","item":[{"name":"get all pending orders","id":"98bb7ef2-b15c-4eda-bd6b-0e0304139d9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders/pending-orders","urlObject":{"protocol":"https","path":["api","v1","orders","pending-orders"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"98bb7ef2-b15c-4eda-bd6b-0e0304139d9f"},{"name":"get all driver orders","id":"96d0c2b6-7423-41e1-8214-d2c918440099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders/driver-orders","urlObject":{"protocol":"https","path":["api","v1","orders","driver-orders"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"96d0c2b6-7423-41e1-8214-d2c918440099"},{"name":"Update Order State","id":"7d71ce7c-b5aa-4134-b97d-e8266147e850","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"state\":\"completed\"\n}","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders/state/678a9bb63745562ff48ce07b","urlObject":{"protocol":"https","path":["api","v1","orders","state","678a9bb63745562ff48ce07b"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d71ce7c-b5aa-4134-b97d-e8266147e850"},{"name":"Start Order","id":"e5567aba-acdb-45ae-85ff-c88b7fee6863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://flower.elevateegy.com/api/v1/orders/start/678a9bb63745562ff48ce07b","urlObject":{"protocol":"https","path":["api","v1","orders","start","678a9bb63745562ff48ce07b"],"host":["flower","elevateegy","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5567aba-acdb-45ae-85ff-c88b7fee6863"}],"id":"0fac7c83-5edf-4772-a1a6-4b300b3d1282","_postman_id":"0fac7c83-5edf-4772-a1a6-4b300b3d1282","description":""}],"id":"45026793-67d1-408f-b55a-c67847becb89","_postman_id":"45026793-67d1-408f-b55a-c67847becb89","description":""},{"name":"Statistics For Web Dashboard","item":[{"name":"Get All Statistics","id":"a3d684aa-b642-4655-8aa9-beaa102da9b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/statistics","description":"<p>Get all statistics in one request</p>\n","urlObject":{"path":["api","v1","statistics"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3d684aa-b642-4655-8aa9-beaa102da9b0"},{"name":"Get Overall Statistics","id":"6546507a-d9bf-4dd2-814c-0ddb086c7de6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/statistics/overall","description":"<p>Get overall statistics including total products, orders, categories, and revenue</p>\n","urlObject":{"path":["api","v1","statistics","overall"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6546507a-d9bf-4dd2-814c-0ddb086c7de6"},{"name":"Get Product Statistics","id":"cd9ceee2-ee08-4df6-a07f-9778181a026a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/statistics/products","description":"<p>Get product statistics including products by category, top selling products, and low stock products</p>\n","urlObject":{"path":["api","v1","statistics","products"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd9ceee2-ee08-4df6-a07f-9778181a026a"},{"name":"Get Order Statistics","id":"8cf4734b-0bd4-4bae-afa6-af0831c82a5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/statistics/orders","description":"<p>Get order statistics including orders by status, daily revenue, and monthly revenue</p>\n","urlObject":{"path":["api","v1","statistics","orders"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cf4734b-0bd4-4bae-afa6-af0831c82a5f"},{"name":"Get Category Statistics","id":"29da665e-0092-42f8-a98b-aefe38f64f77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/statistics/categories","description":"<p>Get category statistics including total products and revenue per category</p>\n","urlObject":{"path":["api","v1","statistics","categories"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"29da665e-0092-42f8-a98b-aefe38f64f77"}],"id":"712e4e4a-6234-4a66-b5a0-66c12d033247","_postman_id":"712e4e4a-6234-4a66-b5a0-66c12d033247","description":""},{"name":"Reviews","item":[{"name":"Create Review","id":"80f5f362-49c6-4b12-a47c-5eca8f7f26e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": \"6745096c90ab40a0685402fc\",\n    \"rating\": 3,\n    \"title\": \"Great product\",\n    \"comment\": \"I really enjoyed this flower arrangement. It was fresh and beautiful!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/reviews","description":"<p>Create a new review for a product. User must be logged in.</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"80f5f362-49c6-4b12-a47c-5eca8f7f26e7"},{"name":"Get All Reviews","id":"3a202999-d29e-4ab7-909f-f4a93c443a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/reviews","description":"<p>Get all reviews. For public users, only approved reviews will be shown.</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a202999-d29e-4ab7-909f-f4a93c443a03"},{"name":"Get user's specific review for a product","id":"44ae220a-1dc0-4d11-a64d-070a9ac73351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/reviews","description":"<p>Get all reviews. For public users, only approved reviews will be shown.</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"44ae220a-1dc0-4d11-a64d-070a9ac73351"},{"name":"Get Product Reviews","id":"b5888bb8-5019-4f1a-8ca5-16ccc935b008","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/products/{{productId}}/reviews","description":"<p>Get all reviews for a specific product. For public users, only approved reviews will be shown.</p>\n","urlObject":{"path":["api","v1","products","{{productId}}","reviews"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5888bb8-5019-4f1a-8ca5-16ccc935b008"},{"name":"Get Single Review","id":"be8bda8c-3173-4608-8ee7-e122a767fa6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/reviews/{{reviewId}}","description":"<p>Get a specific review by ID. For public users, only approved reviews will be shown.</p>\n","urlObject":{"path":["api","v1","reviews","{{reviewId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be8bda8c-3173-4608-8ee7-e122a767fa6a"},{"name":"Update Review","id":"3ab81280-e0d0-4afb-9a06-cabc782801c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"rating\": 5,\n    \"title\": \"Amazing product\",\n    \"comment\": \"I've changed my mind, this is the best flower arrangement I've ever received!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/reviews/{{reviewId}}","description":"<p>Update a review. User must be the owner of the review or an admin.</p>\n","urlObject":{"path":["api","v1","reviews","{{reviewId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ab81280-e0d0-4afb-9a06-cabc782801c9"},{"name":"Delete Review","id":"468bf221-fe74-4c64-a48c-a0ce26cc9588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reviews/{{reviewId}}","description":"<p>Delete a review. User must be the owner of the review or an admin.</p>\n","urlObject":{"path":["api","v1","reviews","{{reviewId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"468bf221-fe74-4c64-a48c-a0ce26cc9588"},{"name":"Update Review Status (Admin)","id":"083a9be8-9915-4738-aa1d-4f9a36df1133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/reviews/{{reviewId}}/status","description":"<p>Update the status of a review. Only admins can perform this action. Status can be 'pending', 'approved', or 'rejected'.</p>\n","urlObject":{"path":["api","v1","reviews","{{reviewId}}","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"083a9be8-9915-4738-aa1d-4f9a36df1133"}],"id":"ec6e50c8-ef9d-4759-b8d8-dc31740d7251","description":"<p>Endpoints for managing product reviews</p>\n","_postman_id":"ec6e50c8-ef9d-4759-b8d8-dc31740d7251"},{"name":"Testimonials","item":[{"name":"Create Testimonial","id":"0dab66b9-4c35-4dbb-b012-ad03ee8f4ea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"rating\": 5,\n    \"content\": \"I've been ordering from this flower shop for years and they never disappoint. The quality and service are exceptional!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/testimonials","description":"<p>Create a new testimonial. User must be logged in.</p>\n","urlObject":{"path":["api","v1","testimonials"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dab66b9-4c35-4dbb-b012-ad03ee8f4ea8"},{"name":"Get All Testimonials","id":"d4f38fac-fd39-4ea1-bb43-23571014b51e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/testimonials","description":"<p>Get all testimonials. For public users, only approved testimonials will be shown.</p>\n","urlObject":{"path":["api","v1","testimonials"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4f38fac-fd39-4ea1-bb43-23571014b51e"},{"name":"Get Featured Testimonials","id":"0d2c4a6d-83bd-41a6-9151-7f8ece71b531","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/testimonials/featured?limit=6","description":"<p>Get featured testimonials for display on the homepage. Only approved and featured testimonials will be shown.</p>\n","urlObject":{"path":["api","v1","testimonials","featured"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"6"}],"variable":[]}},"response":[],"_postman_id":"0d2c4a6d-83bd-41a6-9151-7f8ece71b531"},{"name":"Get Single Testimonial","id":"3f8dd8d9-5848-4150-b88c-2f7de009995f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/api/v1/testimonials/682e65fd46bd6d3683e7583a","description":"<p>Get a specific testimonial by ID. For public users, only approved testimonials will be shown.</p>\n","urlObject":{"path":["api","v1","testimonials","682e65fd46bd6d3683e7583a"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f8dd8d9-5848-4150-b88c-2f7de009995f"},{"name":"Update Testimonial","id":"21a1b55f-e4c3-48c7-950a-d51addd026a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"rating\": 5,\n    \"content\": \"Updated testimonial content. The service is even better than before!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/testimonials/{{testimonialId}}","description":"<p>Update a testimonial. User must be the owner of the testimonial or an admin.</p>\n","urlObject":{"path":["api","v1","testimonials","{{testimonialId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"21a1b55f-e4c3-48c7-950a-d51addd026a3"},{"name":"Delete Testimonial","id":"04dbf939-1ca3-4469-ac38-c5d51d8356b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/testimonials/{{testimonialId}}","description":"<p>Delete a testimonial. User must be the owner of the testimonial or an admin.</p>\n","urlObject":{"path":["api","v1","testimonials","{{testimonialId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04dbf939-1ca3-4469-ac38-c5d51d8356b8"},{"name":"Update Testimonial Status (Admin)","id":"32259f3f-3f0b-4451-86a6-5ed33247aabc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/testimonials/682e65fd46bd6d3683e7583a/status","description":"<p>Update the status of a testimonial. Only admins can perform this action. Status can be 'pending', 'approved', or 'rejected'.</p>\n","urlObject":{"path":["api","v1","testimonials","682e65fd46bd6d3683e7583a","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32259f3f-3f0b-4451-86a6-5ed33247aabc"},{"name":"Toggle Featured Status (Admin)","id":"dac17afc-790c-4b39-8a30-cdf22076418f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/testimonials/682e65fd46bd6d3683e7583a/featured","description":"<p>Toggle the featured status of a testimonial. Only admins can perform this action.</p>\n","urlObject":{"path":["api","v1","testimonials","682e65fd46bd6d3683e7583a","featured"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dac17afc-790c-4b39-8a30-cdf22076418f"}],"id":"f75d9bc9-d3ed-445e-882e-77c6721c912e","description":"<p>Endpoints for managing customer testimonials</p>\n","_postman_id":"f75d9bc9-d3ed-445e-882e-77c6721c912e"},{"name":"Contact","item":[{"name":"Submit Contact Form","id":"06dc3f4f-d83d-490e-8a4d-0fbb88a2bcae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"phone\": \"+1234567890\",\n    \"subject\": \"Question about flower delivery\",\n    \"message\": \"I would like to know if you deliver to my area. My zip code is 12345.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/contact","description":"<p>Submit a contact form. No authentication required.</p>\n","urlObject":{"path":["api","v1","contact"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06dc3f4f-d83d-490e-8a4d-0fbb88a2bcae"},{"name":"Get All Contact Messages (Admin)","id":"76baaec5-2be9-49f3-b563-15948de33868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/contact","description":"<p>Get all contact messages. Only admins can access this endpoint.</p>\n","urlObject":{"path":["api","v1","contact"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76baaec5-2be9-49f3-b563-15948de33868"},{"name":"Get Single Contact Message (Admin)","id":"33faa814-83f6-460f-97fe-75e906edebd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/contact/{{contactId}}","description":"<p>Get a specific contact message by ID. Only admins can access this endpoint.</p>\n","urlObject":{"path":["api","v1","contact","{{contactId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33faa814-83f6-460f-97fe-75e906edebd3"},{"name":"Update Contact Status (Admin)","id":"8682f4e1-4c95-494e-a489-030617fa0e14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"read\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/contact/{{contactId}}","description":"<p>Update the status of a contact message. Only admins can perform this action. Status can be 'new', 'read', or 'responded'.</p>\n","urlObject":{"path":["api","v1","contact","{{contactId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8682f4e1-4c95-494e-a489-030617fa0e14"},{"name":"Delete Contact Message (Admin)","id":"e4c56c74-4916-4012-a84d-b9276c7960e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/contact/{{contactId}}","description":"<p>Delete a contact message. Only admins can perform this action.</p>\n","urlObject":{"path":["api","v1","contact","{{contactId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4c56c74-4916-4012-a84d-b9276c7960e4"}],"id":"aeebd6e7-0ee8-414c-a6d0-2fc6293c9c81","description":"<p>Endpoints for managing contact form submissions</p>\n","_postman_id":"aeebd6e7-0ee8-414c-a6d0-2fc6293c9c81"},{"name":"Improved Search","item":[{"name":"Search Products","id":"6bb3b585-45c1-4311-8b8e-7868fbe1a583","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/search/products","description":"<p>Performs an advanced search for products with multiple filtering options. Supports filtering by price range, rating, categories, and occasions. Results can be sorted by various criteria and paginated.</p>\n","urlObject":{"path":["api","v1","search","products"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bb3b585-45c1-4311-8b8e-7868fbe1a583"},{"name":"Get Search Suggestions","id":"1b479f6f-1c24-4a01-9b0d-24fd6605c4d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/search/suggestions","description":"<p>Returns search suggestions based on a partial search term. Helps users find products even with incomplete search terms. Suggestions are based on product titles, descriptions, and tags.</p>\n","urlObject":{"path":["api","v1","search","suggestions"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b479f6f-1c24-4a01-9b0d-24fd6605c4d4"},{"name":"Get Search Filters","id":"0b90f1e8-eccb-41e8-8b15-d32fcf22ca6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/search/filters","description":"<p>Returns available filters for product search. Includes price ranges, rating options, categories, and occasions. These filters can be used to refine search results.</p>\n","urlObject":{"path":["api","v1","search","filters"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b90f1e8-eccb-41e8-8b15-d32fcf22ca6e"}],"id":"2c9393ed-6b1a-47c8-8671-49673e593820","description":"<p>Endpoints for advanced product search functionality</p>\n","_postman_id":"2c9393ed-6b1a-47c8-8671-49673e593820"},{"name":"Advanced Notification","item":[{"name":"Get User Notifications","id":"b298d354-06bc-4767-b5c2-fc5bd9a67c43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/user","description":"<p>Retrieves all notifications for the current user. Supports pagination, filtering by type, and sorting. Returns both read and unread notifications.</p>\n","urlObject":{"path":["api","v1","notifications","user"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b298d354-06bc-4767-b5c2-fc5bd9a67c43"},{"name":"Get Unread Count","id":"4126b618-cb12-48b2-a7a6-e22aa95b013c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/unread-count","description":"<p>Returns the count of unread notifications for the current user. Useful for displaying notification badges in the UI.</p>\n","urlObject":{"path":["api","v1","notifications","unread-count"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4126b618-cb12-48b2-a7a6-e22aa95b013c"},{"name":"Toggle Notification","id":"b56cc568-f411-46f5-bb33-818de361ae02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/api/v1/notifications/:id/toggle","description":"<p>Marks specific notifications as read. Takes an array of notification IDs to mark as read. Returns the updated unread count.</p>\n","urlObject":{"path":["api","v1","notifications",":id","toggle"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"b56cc568-f411-46f5-bb33-818de361ae02"},{"name":"Mark Notifications as Read Copy","id":"65caed31-8ce3-49fc-a92f-00fd746bcb5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"notificationIds\": [\"{{notification_id_1}}\", \"{{notification_id_2}}\"]\n}"},"url":"{{base_url}}/api/v1/notifications/mark-read","description":"<p>Marks specific notifications as read. Takes an array of notification IDs to mark as read. Returns the updated unread count.</p>\n","urlObject":{"path":["api","v1","notifications","mark-read"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65caed31-8ce3-49fc-a92f-00fd746bcb5e"},{"name":"Mark All Notifications as Read","id":"0fbf9739-e6e1-4fef-a655-0b471b319a67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/mark-all-read","description":"<p>Marks all notifications for the current user as read. Returns the number of notifications that were marked as read.</p>\n","urlObject":{"path":["api","v1","notifications","mark-all-read"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fbf9739-e6e1-4fef-a655-0b471b319a67"},{"name":"Clear All Notifications","id":"86f2a10b-64f2-4d66-8f19-a2e3aa2d20be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/clear-all","description":"<p>Deletes all notifications for the current user. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","notifications","clear-all"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86f2a10b-64f2-4d66-8f19-a2e3aa2d20be"},{"name":"Get All Notifications (Admin)","id":"5d288cfb-bfb5-4789-bfb8-dfaae3e400ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{admin_token}}"}],"url":"{{base_url}}/api/v1/notifications/admin","description":"<p>Retrieves all notifications in the system. Only accessible by admin users. Supports pagination, filtering, and sorting.</p>\n","urlObject":{"path":["api","v1","notifications","admin"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d288cfb-bfb5-4789-bfb8-dfaae3e400ab"},{"name":"Create Notification (Admin)","id":"529bb3b5-4562-4b78-8f56-9da9ccb125b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"{{user_id}}\",\n  \"title\": \"Your Order Has Been Shipped\",\n  \"body\": \"Your order #12345 has been shipped and will arrive in 2-3 business days.\",\n  \"type\": \"order_status\",\n  \"priority\": \"medium\",\n  \"actionLink\": \"/orders/12345\",\n  \"relatedId\": \"{{order_id}}\",\n  \"relatedModel\": \"order\"\n}"},"url":"{{base_url}}/api/v1/notifications/admin","description":"<p>Creates a new notification for a specific user. Only accessible by admin users. The notification can include a title, body, type, priority, and action link.</p>\n","urlObject":{"path":["api","v1","notifications","admin"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"529bb3b5-4562-4b78-8f56-9da9ccb125b3"},{"name":"Send Bulk Notifications (Admin)","id":"25275d33-63c0-45bd-916d-3176c91051c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"recipients\": [\"{{user_id_1}}\", \"{{user_id_2}}\", \"{{user_id_3}}\"],\n  \"title\": \"New Spring Collection Available\",\n  \"body\": \"Check out our new spring collection with exclusive discounts for early shoppers!\",\n  \"type\": \"promotion\",\n  \"priority\": \"medium\",\n  \"actionLink\": \"/collections/spring\"\n}"},"url":"{{base_url}}/api/v1/notifications/bulk","description":"<p>Sends the same notification to multiple users at once. Only accessible by admin users. Useful for announcements, promotions, or system-wide alerts.</p>\n","urlObject":{"path":["api","v1","notifications","bulk"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"25275d33-63c0-45bd-916d-3176c91051c5"},{"name":"Get Notification by ID","id":"15321a69-85c7-4a9f-b275-625470e7dc7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/{{notification_id}}","description":"<p>Retrieves a specific notification by its ID. Users can only view their own notifications, while admins can view any notification.</p>\n","urlObject":{"path":["api","v1","notifications","{{notification_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15321a69-85c7-4a9f-b275-625470e7dc7d"},{"name":"Delete Notification","id":"853f9faa-a4a5-4227-b010-6aa84952834e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/notifications/{{notification_id}}","description":"<p>Deletes a specific notification. Users can only delete their own notifications, while admins can delete any notification.</p>\n","urlObject":{"path":["api","v1","notifications","{{notification_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"853f9faa-a4a5-4227-b010-6aa84952834e"}],"id":"09680558-c115-48ae-a75e-bf6b52c5c6c1","description":"<p>Endpoints for managing user notifications</p>\n","_postman_id":"09680558-c115-48ae-a75e-bf6b52c5c6c1"},{"name":"Related Products","item":[{"name":"Get Related Products by Category","id":"a9c38e90-6a45-4cc6-a4b6-787f9a4d48f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/related/category/{{product_id}}","description":"<p>Returns products that are in the same category as the specified product. Useful for showing similar products in product detail pages. Excludes the current product from results.</p>\n","urlObject":{"path":["api","v1","related","category","{{product_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9c38e90-6a45-4cc6-a4b6-787f9a4d48f2"},{"name":"Get Related Products by Occasion","id":"e5b94d56-e56b-49a0-bc17-1dbcf23a0706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/related/occasion/{{product_id}}","description":"<p>Returns products that are for the same occasion as the specified product. Helps users find alternative options for the same event or celebration. Excludes the current product from results.</p>\n","urlObject":{"path":["api","v1","related","occasion","{{product_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5b94d56-e56b-49a0-bc17-1dbcf23a0706"},{"name":"Get Frequently Bought Together","id":"8034df77-5e1d-4976-8028-65ad45e53a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/related/frequently-bought/{{product_id}}","description":"<p>Returns products that are frequently purchased together with the specified product. Helps increase average order value by suggesting complementary products. Based on similar price range and category.</p>\n","urlObject":{"path":["api","v1","related","frequently-bought","{{product_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8034df77-5e1d-4976-8028-65ad45e53a0a"},{"name":"Get Similar Products","id":"1b461286-05bb-4347-862a-cdf2876a4368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/related/similar/{{product_id}}","description":"<p>Returns products that are similar to the specified product based on multiple factors. Uses an aggregation pipeline to calculate similarity scores based on category, occasion, and price range. Returns products sorted by similarity score.</p>\n","urlObject":{"path":["api","v1","related","similar","{{product_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b461286-05bb-4347-862a-cdf2876a4368"},{"name":"Get Personalized Recommendations","id":"6688c6dc-fc71-45e3-8e9a-257b61ae361b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/related/recommendations/{{user_id}}","description":"<p>Returns personalized product recommendations for a specific user. Based on top-rated products (in a real system, this would use purchase history and user preferences). Requires authentication.</p>\n","urlObject":{"path":["api","v1","related","recommendations","{{user_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6688c6dc-fc71-45e3-8e9a-257b61ae361b"}],"id":"8aeecc45-a260-45fc-a65d-954e4fcae74f","description":"<p>Endpoints for product recommendations and related items</p>\n","_postman_id":"8aeecc45-a260-45fc-a65d-954e4fcae74f"},{"name":"Blog System","item":[{"name":"Get All Blog Posts","id":"1b2bbdcf-3041-4ab0-9846-dad0ca9d9142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/blog","description":"<p>Retrieves all published blog posts. Admin users can see all posts including drafts and archived posts. Supports pagination, filtering, and sorting. Returns blog posts with author information.</p>\n","urlObject":{"path":["api","v1","blog"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b2bbdcf-3041-4ab0-9846-dad0ca9d9142"},{"name":"Get Featured Blog Posts","id":"e6a6ddc5-bf3e-4cf9-804f-30123a9968fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/blog/featured","description":"<p>Returns featured blog posts that are marked as featured and published. Useful for homepage or blog landing page to highlight important content. Limited to a specified number of posts.</p>\n","urlObject":{"path":["api","v1","blog","featured"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6a6ddc5-bf3e-4cf9-804f-30123a9968fa"},{"name":"Get Blog Posts by Category","id":"dedf1d13-8329-45e6-b0a0-b81c53c048b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/blog/category/care-tips","description":"<p>Returns blog posts in a specific category. Only published posts are returned. Supports pagination. Categories include: care-tips, flower-types, arrangements, occasions, seasonal, diy, gifts, trends.</p>\n","urlObject":{"path":["api","v1","blog","category","care-tips"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dedf1d13-8329-45e6-b0a0-b81c53c048b3"},{"name":"Get Blog Post by ID","id":"27168e1e-f2d6-40a7-b0db-320e5c0d69b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/blog/{{blog_id}}","description":"<p>Retrieves a specific blog post by its ID. Increments the view count. Returns the blog post with author information, related products, and approved comments. Users can only view published posts unless they are the author or an admin.</p>\n","urlObject":{"path":["api","v1","blog","{{blog_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27168e1e-f2d6-40a7-b0db-320e5c0d69b4"},{"name":"Create Blog Post (Admin)","id":"d6bd07d5-cd12-40d6-b446-685f23009b52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"10 Tips for Keeping Your Flowers Fresh Longer\",\n  \"content\": \"<p>Fresh flowers can brighten any space, but keeping them looking their best can be a challenge...</p>\",\n  \"summary\": \"Learn how to extend the life of your cut flowers with these simple tips and tricks.\",\n  \"coverImage\": \"https://example.com/images/flower-care.jpg\",\n  \"images\": [\"https://example.com/images/flower-care-1.jpg\", \"https://example.com/images/flower-care-2.jpg\"],\n  \"categories\": [\"care-tips\", \"flower-types\"],\n  \"tags\": [\"flower care\", \"fresh flowers\", \"tips\", \"water\", \"vase\"],\n  \"status\": \"published\",\n  \"featured\": true,\n  \"relatedProducts\": [\"{{product_id_1}}\", \"{{product_id_2}}\"]\n}"},"url":"{{base_url}}/api/v1/blog","description":"<p>Creates a new blog post. Only accessible by admin users. The author is automatically set to the current user. The slug is automatically generated from the title.</p>\n","urlObject":{"path":["api","v1","blog"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6bd07d5-cd12-40d6-b446-685f23009b52"},{"name":"Update Blog Post","id":"eaefe106-a4c2-4089-9f11-68c07a7d3e53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"12 Tips for Keeping Your Flowers Fresh Longer\",\n  \"content\": \"<p>Updated content with more tips...</p>\",\n  \"summary\": \"Updated summary with more details about flower care.\",\n  \"categories\": [\"care-tips\", \"flower-types\", \"diy\"],\n  \"tags\": [\"flower care\", \"fresh flowers\", \"tips\", \"water\", \"vase\", \"longevity\"],\n  \"status\": \"published\"\n}"},"url":"{{base_url}}/api/v1/blog/{{blog_id}}","description":"<p>Updates an existing blog post. Only the author or admin users can update a blog post. Any blog post parameter can be modified.</p>\n","urlObject":{"path":["api","v1","blog","{{blog_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eaefe106-a4c2-4089-9f11-68c07a7d3e53"},{"name":"Delete Blog Post","id":"7fa7cf24-ff82-4136-b438-ae7f3bf703f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/blog/{{blog_id}}","description":"<p>Deletes a blog post and all its comments. Only the author or admin users can delete a blog post. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","blog","{{blog_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fa7cf24-ff82-4136-b438-ae7f3bf703f1"},{"name":"Like/Unlike Blog Post","id":"3613bd2e-e828-4474-a224-be593a24bfef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"like\"\n}"},"url":"{{base_url}}/api/v1/blog/like/{{blog_id}}","description":"<p>Toggles like status for a blog post. Requires authentication. The action parameter determines whether to like or unlike the post.</p>\n","urlObject":{"path":["api","v1","blog","like","{{blog_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3613bd2e-e828-4474-a224-be593a24bfef"}],"id":"3e7d8fe7-3b15-47ab-afd5-6e68c4061f8d","description":"<p>Endpoints for managing blog posts and content</p>\n","_postman_id":"3e7d8fe7-3b15-47ab-afd5-6e68c4061f8d"},{"name":"Comments System","item":[{"name":"Get Blog Comments","id":"1c750f7d-3d0a-44bb-ba5d-0a647c87c15e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/blog/{{blog_id}}/comments","description":"<p>Retrieves all approved comments for a specific blog post. Returns top-level comments (no parent) with their replies. Comments include user information (name and profile image).</p>\n","urlObject":{"path":["api","v1","blog","{{blog_id}}","comments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c750f7d-3d0a-44bb-ba5d-0a647c87c15e"},{"name":"Create Comment","id":"12d11910-2070-4c63-ac4f-3ada112f621e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This is a great article! I've tried these tips and they really work.\",\n  \"blog\": \"{{blog_id}}\",\n  \"parent\": null\n}"},"url":"{{base_url}}/api/v1/blog/comments","description":"<p>Creates a new comment on a blog post. Requires authentication. The user is automatically set to the current user. Can be a top-level comment or a reply to another comment.</p>\n","urlObject":{"path":["api","v1","blog","comments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12d11910-2070-4c63-ac4f-3ada112f621e"},{"name":"Like/Unlike Comment","id":"ba72af22-bb9a-48d5-8a68-1a570fbe4dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"like\"\n}"},"url":"{{base_url}}/api/v1/blog/comments/like/{{comment_id}}","description":"<p>Toggles like status for a comment. Requires authentication. The action parameter determines whether to like or unlike the comment.</p>\n","urlObject":{"path":["api","v1","blog","comments","like","{{comment_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba72af22-bb9a-48d5-8a68-1a570fbe4dbe"},{"name":"Delete Comment","id":"e6212b69-1e47-4457-972a-4a78036922e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{base_url}}/api/v1/blog/comments/{{comment_id}}","description":"<p>Deletes a comment and all its replies. Only the comment author or admin users can delete a comment. This action is permanent and cannot be undone.</p>\n","urlObject":{"path":["api","v1","blog","comments","{{comment_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6212b69-1e47-4457-972a-4a78036922e0"},{"name":"Get Pending Comments (Admin)","id":"3b22c84c-3db7-4456-a7f0-244363e94e67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{admin_token}}"}],"url":"{{base_url}}/api/v1/blog/admin/comments/pending","description":"<p>Retrieves all comments with 'pending' status. Only accessible by admin users. Returns comments with user and blog information for moderation.</p>\n","urlObject":{"path":["api","v1","blog","admin","comments","pending"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b22c84c-3db7-4456-a7f0-244363e94e67"},{"name":"Update Comment Status (Admin)","id":"e6e8b80b-e921-48bf-8634-5096762deddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"approved\"\n}"},"url":"{{base_url}}/api/v1/blog/admin/comments/{{comment_id}}/status","description":"<p>Updates the status of a comment to either 'approved' or 'rejected'. Only accessible by admin users. Part of the comment moderation workflow.</p>\n","urlObject":{"path":["api","v1","blog","admin","comments","{{comment_id}}","status"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6e8b80b-e921-48bf-8634-5096762deddb"}],"id":"ee721368-ce13-430a-b42b-07be5019699a","description":"<p>Endpoints for managing blog comments</p>\n","_postman_id":"ee721368-ce13-430a-b42b-07be5019699a"},{"name":"Inventory Management","item":[{"name":"Create Inventory Record","id":"7c437ef5-3316-4a35-8f8c-c4d1b384ec00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": \"{{productId}}\",\n    \"sku\": \"FLW-1234\",\n    \"currentStock\": 50,\n    \"lowStockThreshold\": 10,\n    \"location\": \"main-warehouse\",\n    \"supplier\": {\n        \"name\": \"Flower Supplier Co.\",\n        \"contactPerson\": \"John Doe\",\n        \"email\": \"john@flowersupplier.com\",\n        \"phone\": \"+201234567890\"\n    },\n    \"leadTime\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory","description":"<p>Creates a new inventory record for a product. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c437ef5-3316-4a35-8f8c-c4d1b384ec00"},{"name":"Get All Inventory","id":"36aea145-5c6a-401d-b918-2faf588d0087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory?page=1&limit=10&sort=-currentStock","description":"<p>Retrieves all inventory records with pagination and filtering options. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"sort","value":"-currentStock"},{"disabled":true,"key":"isLowStock","value":"true"},{"disabled":true,"key":"isOutOfStock","value":"true"}],"variable":[]}},"response":[],"_postman_id":"36aea145-5c6a-401d-b918-2faf588d0087"},{"name":"Get Inventory By ID","id":"a1049c70-9a68-4190-8dcc-a233f7556e07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}","description":"<p>Retrieves a specific inventory record by its ID. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1049c70-9a68-4190-8dcc-a233f7556e07"},{"name":"Get Inventory By Product ID","id":"92b8dad1-46f9-4a4b-bdff-a24eb2745cb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/product/{{productId}}","description":"<p>Retrieves inventory information for a specific product. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","product","{{productId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92b8dad1-46f9-4a4b-bdff-a24eb2745cb3"},{"name":"Update Inventory","id":"b016c32c-5a7b-4b8f-85aa-7f3822f5dea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lowStockThreshold\": 15,\n    \"location\": \"main-warehouse-section-b\",\n    \"supplier\": {\n        \"name\": \"Premium Flower Supplier\",\n        \"contactPerson\": \"Jane Smith\",\n        \"email\": \"jane@premiumflowers.com\",\n        \"phone\": \"+201234567891\"\n    },\n    \"leadTime\": 3,\n    \"isActive\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}","description":"<p>Updates an existing inventory record. Only certain fields can be updated. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b016c32c-5a7b-4b8f-85aa-7f3822f5dea8"},{"name":"Add Stock","id":"1c64e723-e97e-4fec-aaac-5d90f1ba00e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 25,\n    \"reason\": \"New shipment received\",\n    \"notes\": \"Spring collection restock\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/add-stock","description":"<p>Adds stock to an inventory record. Updates both inventory and product quantity. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","add-stock"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c64e723-e97e-4fec-aaac-5d90f1ba00e3"},{"name":"Reduce Stock","id":"5f16cf5e-8864-4b54-9784-7b75fd2bd3be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 5,\n    \"reason\": \"Damaged items\",\n    \"notes\": \"Water damage during storage\",\n    \"reference\": null,\n    \"referenceModel\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/reduce-stock","description":"<p>Reduces stock from an inventory record. Updates both inventory and product quantity. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","reduce-stock"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f16cf5e-8864-4b54-9784-7b75fd2bd3be"},{"name":"Adjust Stock","id":"24d9083f-48d6-4ae5-9de3-dd7ff1a0e459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"newQuantity\": 42,\n    \"reason\": \"Inventory audit adjustment\",\n    \"notes\": \"Correcting discrepancy after physical count\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/adjust-stock","description":"<p>Adjusts stock to a specific quantity. Updates both inventory and product quantity. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","adjust-stock"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24d9083f-48d6-4ae5-9de3-dd7ff1a0e459"},{"name":"Reserve Stock","id":"3659728a-f6b3-4f44-ad1d-6ca78076e5b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 3,\n    \"orderId\": \"{{orderId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/reserve","description":"<p>Reserves stock for an order. Moves stock from available to reserved. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","reserve"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3659728a-f6b3-4f44-ad1d-6ca78076e5b5"},{"name":"Release Reserved Stock","id":"de353c43-eb09-4372-a30a-a10d1494760a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 3,\n    \"orderId\": \"{{orderId}}\",\n    \"reason\": \"Order canceled\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/release-reserved","description":"<p>Releases reserved stock back to available. Used when orders are canceled. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","release-reserved"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de353c43-eb09-4372-a30a-a10d1494760a"},{"name":"Fulfill Order","id":"660a9bfc-d9ca-465b-a8a2-5c563db2e257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 3,\n    \"orderId\": \"{{orderId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/fulfill-order","description":"<p>Converts reserved stock to consumed stock when an order is fulfilled. Updates both inventory and product quantity. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","fulfill-order"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"660a9bfc-d9ca-465b-a8a2-5c563db2e257"},{"name":"Process Return","id":"42682bf8-32a1-4544-b179-01f112ee4221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 2,\n    \"orderId\": \"{{orderId}}\",\n    \"reason\": \"Customer return - item in good condition\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/process-return","description":"<p>Processes returned items and adds them back to inventory. Updates both inventory and product quantity. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","process-return"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"42682bf8-32a1-4544-b179-01f112ee4221"},{"name":"Get Inventory History","id":"d94dad08-1842-4410-9874-fdfa6478c5ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/{{inventoryId}}/history?startDate=2023-01-01&endDate=2023-12-31&type=stock_addition&page=1&limit=20","description":"<p>Retrieves transaction history for a specific inventory record with filtering options. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","{{inventoryId}}","history"],"host":["{{baseUrl}}"],"query":[{"key":"startDate","value":"2023-01-01"},{"key":"endDate","value":"2023-12-31"},{"key":"type","value":"stock_addition"},{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"d94dad08-1842-4410-9874-fdfa6478c5ad"}],"id":"1c7e1c3e-8633-4686-b796-cc61d4d09bb2","description":"<p>Endpoints for managing product inventory</p>\n","_postman_id":"1c7e1c3e-8633-4686-b796-cc61d4d09bb2"},{"name":"Inventory Reports","item":[{"name":"Get Low Stock Products","id":"698854b1-0693-4844-bb3f-7a442ac09113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/reports/low-stock","description":"<p>Retrieves a list of products that are below their low stock threshold. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","reports","low-stock"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"698854b1-0693-4844-bb3f-7a442ac09113"},{"name":"Get Out of Stock Products","id":"9f314750-735a-4e36-b568-5d6ac0b6df9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/reports/out-of-stock","description":"<p>Retrieves a list of products that are completely out of stock. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","reports","out-of-stock"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f314750-735a-4e36-b568-5d6ac0b6df9c"},{"name":"Get Inventory Statistics","id":"2fd43260-a8e7-4ad9-927f-cd8f40899515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/reports/stats","description":"<p>Retrieves overall inventory statistics including total products, stock value, and health metrics. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","reports","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fd43260-a8e7-4ad9-927f-cd8f40899515"},{"name":"Sync Inventory with Products","id":"799fb810-56d0-471d-b058-d2afc8e8aaff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/inventory/sync","description":"<p>Synchronizes inventory records with product quantities. Creates missing inventory records and updates existing ones. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","inventory","sync"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"799fb810-56d0-471d-b058-d2afc8e8aaff"}],"id":"05c7a3f3-4faa-4ef2-aafe-b3b7d2b354ba","description":"<p>Endpoints for inventory reports and analytics</p>\n","_postman_id":"05c7a3f3-4faa-4ef2-aafe-b3b7d2b354ba"},{"name":"Advanced Reports","item":[{"name":"Sales Reports","item":[{"name":"Sales Overview","id":"1ca5bc88-ad3f-40da-acbe-67cceac8632a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reports/sales/overview?startDate=2023-01-01&endDate=2023-12-31&status=completed","description":"<p>Retrieves a comprehensive sales overview report including total sales, orders, average order value, and breakdowns by payment type and status. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","reports","sales","overview"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Start date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"startDate","value":"2023-01-01"},{"description":{"content":"<p>End date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"endDate","value":"2023-12-31"},{"description":{"content":"<p>Filter by order status (optional)</p>\n","type":"text/plain"},"key":"status","value":"completed"}],"variable":[]}},"response":[],"_postman_id":"1ca5bc88-ad3f-40da-acbe-67cceac8632a"},{"name":"Sales Trends","id":"5be48c2d-41ca-4e8a-9040-d1bb50dc326c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reports/sales/trends?startDate=2023-01-01&endDate=2023-12-31&interval=weekly","description":"<p>Retrieves sales trends over time with customizable time intervals (daily, weekly, monthly). Shows sales amount, order count, and average order value for each period. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","reports","sales","trends"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Start date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"startDate","value":"2023-01-01"},{"description":{"content":"<p>End date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"endDate","value":"2023-12-31"},{"description":{"content":"<p>Interval for grouping data (daily, weekly, monthly)</p>\n","type":"text/plain"},"key":"interval","value":"weekly"}],"variable":[]}},"response":[],"_postman_id":"5be48c2d-41ca-4e8a-9040-d1bb50dc326c"}],"id":"025e09b9-94ad-4e8f-84a1-76fcdd34b6dc","description":"<p>Endpoints for sales analytics and reporting</p>\n","_postman_id":"025e09b9-94ad-4e8f-84a1-76fcdd34b6dc"},{"name":"Product Reports","item":[{"name":"Product Performance","id":"4d919337-9cb8-4131-84f1-2e2a96b47f86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reports/products/performance?startDate=2023-01-01&endDate=2023-12-31&limit=10","description":"<p>Retrieves product performance metrics including top-selling products by revenue and quantity, and category performance. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","reports","products","performance"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Start date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"startDate","value":"2023-01-01"},{"description":{"content":"<p>End date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"endDate","value":"2023-12-31"},{"description":{"content":"<p>Number of top products to return</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"4d919337-9cb8-4131-84f1-2e2a96b47f86"}],"id":"d216c488-557d-43cd-97e0-f6a2098ab4bd","description":"<p>Endpoints for product performance analytics</p>\n","_postman_id":"d216c488-557d-43cd-97e0-f6a2098ab4bd"},{"name":"Customer Reports","item":[{"name":"Customer Insights","id":"d6079e77-6176-4cb7-b4db-dd3bc26cfa36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reports/customers/insights?startDate=2023-01-01&endDate=2023-12-31","description":"<p>Retrieves customer insights including new customer acquisition, retention rates, and top customers by spending. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","reports","customers","insights"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Start date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"startDate","value":"2023-01-01"},{"description":{"content":"<p>End date for the report period (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"endDate","value":"2023-12-31"}],"variable":[]}},"response":[],"_postman_id":"d6079e77-6176-4cb7-b4db-dd3bc26cfa36"}],"id":"1cfe188b-5220-4c0e-886d-52f50a884ccd","description":"<p>Endpoints for customer analytics and insights</p>\n","_postman_id":"1cfe188b-5220-4c0e-886d-52f50a884ccd"},{"name":"Inventory Reports","item":[{"name":"Inventory Analysis","id":"eca98649-0209-4112-9636-32a65ceb0450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{baseUrl}}/api/v1/reports/inventory/analysis","description":"<p>Retrieves comprehensive inventory analysis including stock levels, inventory value, turnover ratios, and top products by inventory value. Requires admin privileges.</p>\n","urlObject":{"path":["api","v1","reports","inventory","analysis"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eca98649-0209-4112-9636-32a65ceb0450"}],"id":"07fa45d8-761a-454c-9f29-17db1dd2d055","description":"<p>Endpoints for inventory analytics</p>\n","_postman_id":"07fa45d8-761a-454c-9f29-17db1dd2d055"}],"id":"0aebe8e9-b3e4-4811-8602-8d1855eb2956","_postman_id":"0aebe8e9-b3e4-4811-8602-8d1855eb2956","description":""}]}