{"info":{"_postman_id":"bf40ed42-7984-4380-aab1-fc104f421cce","name":"Swift Cart","description":"<html><head></head><body><p>Swift Cart is a modern, full-stack fashion e-commerce platform built with Mern, featuring a complete shopping experience with user authentication, product management, cart functionality, and secure payment processing.</p>\n<p>Live link:<br>Client: <a href=\"https://swiftcartbd.vercel.app/\">https://swiftcartbd.vercel.app/</a><br>Admin: <a href=\"https://swiftcartbd-admin.vercel.app/\">https://swiftcartbd-admin.vercel.app/</a><br>Server: <a href=\"https://swiftcartbd-server.vercel.app/\">https://swiftcartbd-server.vercel.app/</a></p>\n<p>Repo link:<br>Client: <a href=\"https://github.com/miraz23/Swiftcart_client\">https://github.com/miraz23/Swiftcart_client</a><br>Admin: <a href=\"https://github.com/miraz23/Swiftcart_admin\">https://github.com/miraz23/Swiftcart_admin</a><br>Server: <a href=\"https://github.com/miraz23/Swiftcart_admin\">https://github.com/miraz23/Swiftcart_server</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39991008","collectionId":"bf40ed42-7984-4380-aab1-fc104f421cce","publishedId":"2sB3QGtWV4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-03T07:16:39.000Z"},"item":[{"name":"Main","item":[{"name":"Swift Cart","id":"d72d5a7b-03e5-4102-b4ef-f637e75b2f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/","urlObject":{"path":[""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"d72d5a7b-03e5-4102-b4ef-f637e75b2f60"},{"name":"Creat user","id":"e387898d-3212-4ab6-b8be-9fea1d42804b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test User\",\r\n  \"email\": \"test@example.com\",\r\n  \"photoURL\": \"\",\r\n  \"role\": \"patient\",\r\n  \"createdAt\": \"2025-10-02T12:00:00.000Z\",\r\n  \"lastLogin\": \"2025-10-02T12:00:00.000Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/users","urlObject":{"path":["api","users"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"e387898d-3212-4ab6-b8be-9fea1d42804b"}],"id":"b8204dca-c602-4dda-a412-b7306354f1f1","_postman_id":"b8204dca-c602-4dda-a412-b7306354f1f1","description":""},{"name":"Admin Authentication","item":[{"name":"Login Admin","id":"e0cc4a21-7a9e-4c23-b315-4eb66615f3e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"admin@gmail.com\",\r\n  \"password\": \"admin12345\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/api/admin/login","urlObject":{"path":["api","admin","login"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"e0cc4a21-7a9e-4c23-b315-4eb66615f3e2"},{"name":"Get Current User","id":"11374851-9681-4ee3-9bdd-25a964be81c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/api/admin/auth","urlObject":{"path":["api","admin","auth"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"11374851-9681-4ee3-9bdd-25a964be81c9"},{"name":"Logout","id":"4246cd0a-b3a1-42bb-9d89-d129da875c89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/admin/logout","urlObject":{"path":["api","admin","logout"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"4246cd0a-b3a1-42bb-9d89-d129da875c89"},{"name":"Register super admin","id":"c3b16806-31d5-4424-8f1c-c0ebbaf5b7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Super Admin\",\r\n  \"email\": \"admin@gmail.com\",\r\n  \"password\": \"admin12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/api/admin/register-superadmin","urlObject":{"path":["api","admin","register-superadmin"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"c3b16806-31d5-4424-8f1c-c0ebbaf5b7ac"}],"id":"6387fd25-5a24-490b-a29e-dd411cd4b818","_postman_id":"6387fd25-5a24-490b-a29e-dd411cd4b818","description":""},{"name":"Admin Management","item":[{"name":"Create another admin","id":"a3e7f651-e61f-4f4c-b26c-1a8bcbfe9474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/api/admin/register","urlObject":{"path":["api","admin","register"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"a3e7f651-e61f-4f4c-b26c-1a8bcbfe9474"},{"name":"Get all admins","id":"4d8b41b8-0b6d-4c4c-8407-e279303f8da4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/admin/users","urlObject":{"path":["api","admin","users"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"4d8b41b8-0b6d-4c4c-8407-e279303f8da4"},{"name":"Update privilege","id":"d9f6e5e7-6700-40d4-8dbd-2ffecc4708be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/admin/users/:id","urlObject":{"path":["api","admin","users",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"d9f6e5e7-6700-40d4-8dbd-2ffecc4708be"},{"name":"Delete admin","id":"7445ff00-89f9-49fc-8ba1-2550945ef039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/admin/users/:id","urlObject":{"path":["api","admin","users",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"7445ff00-89f9-49fc-8ba1-2550945ef039"}],"id":"bd7c8ff7-bc2b-4105-ae86-732a7d6abac3","_postman_id":"bd7c8ff7-bc2b-4105-ae86-732a7d6abac3","description":""},{"name":"Products","item":[{"name":"Public","item":[{"name":"List all","id":"65742be6-44c0-4cfa-a722-f3178158ba4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/products","urlObject":{"path":["api","products"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"65742be6-44c0-4cfa-a722-f3178158ba4c"},{"name":"Single product","id":"01b0a653-f29d-4bb5-9bad-9d9852b2da6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/products/:id","urlObject":{"protocol":"http","port":"5000","path":["api","products",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"01b0a653-f29d-4bb5-9bad-9d9852b2da6e"},{"name":"Add review","id":"92666745-c5f0-47aa-9e42-25c337fff716","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/products/reviews","urlObject":{"path":["api","products","reviews"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"92666745-c5f0-47aa-9e42-25c337fff716"},{"name":"All reviews for product","id":"a87b411c-c372-47c3-83b5-8b247a491cc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/products/reviews/:id","urlObject":{"path":["api","products","reviews",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"a87b411c-c372-47c3-83b5-8b247a491cc3"}],"id":"8333e4ab-6f1a-48a9-8e21-54cd81920114","_postman_id":"8333e4ab-6f1a-48a9-8e21-54cd81920114","description":""},{"name":"Admin","item":[{"name":"Create product","id":"7a78fa8b-0866-4ec8-aceb-3c4910761385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/api/admin/product/new","urlObject":{"path":["api","admin","product","new"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7a78fa8b-0866-4ec8-aceb-3c4910761385"},{"name":"Update","id":"edc67430-849c-4480-8c81-5043453edeb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/admin/product/:id","urlObject":{"path":["api","admin","product",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"edc67430-849c-4480-8c81-5043453edeb9"},{"name":"Delete","id":"976cbab0-808c-4979-9cea-de0936aee913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/admin/product/:id","urlObject":{"path":["api","admin","product",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"976cbab0-808c-4979-9cea-de0936aee913"},{"name":"Delete review","id":"6e11ba2b-c603-49ac-8dd0-8af1025599ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/admin/product/review/:id","urlObject":{"path":["api","admin","product","review",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"6e11ba2b-c603-49ac-8dd0-8af1025599ac"}],"id":"36bb8cd4-9d5e-4821-a6ca-57b010f7ae5f","_postman_id":"36bb8cd4-9d5e-4821-a6ca-57b010f7ae5f","description":""}],"id":"ce113a56-067f-4562-9c3a-c0c9f4185c11","_postman_id":"ce113a56-067f-4562-9c3a-c0c9f4185c11","description":""},{"name":"Orders","item":[{"name":"Public","item":[{"name":"Place order","id":"57094f3d-26b9-4182-b5f7-0ed6c50b75c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/orders/new","urlObject":{"path":["api","orders","new"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"57094f3d-26b9-4182-b5f7-0ed6c50b75c5"},{"name":"Get orders by email","id":"8576e599-5826-4b31-aa8e-b760fb3677b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/orders","urlObject":{"path":["api","orders"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"8576e599-5826-4b31-aa8e-b760fb3677b9"},{"name":"Single order","id":"07e7f23b-fd00-48aa-a58c-3e6a65358787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/orders/:id","urlObject":{"path":["api","orders",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"07e7f23b-fd00-48aa-a58c-3e6a65358787"}],"id":"94dd609c-f407-42ed-91a3-84997d9fca00","_postman_id":"94dd609c-f407-42ed-91a3-84997d9fca00","description":""},{"name":"Admin","item":[{"name":"All orders","id":"44254f07-6477-4f02-aeab-87eee499ad5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/admin/orders","urlObject":{"path":["api","admin","orders"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"44254f07-6477-4f02-aeab-87eee499ad5b"},{"name":"Update status","id":"94423a0e-9159-46c6-8698-2fd6c1d91668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"/api/admin/order/:id","urlObject":{"path":["api","admin","order",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"94423a0e-9159-46c6-8698-2fd6c1d91668"},{"name":"Delete order","id":"a508a389-bb7e-4071-80a4-34567563419e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/api/admin/order/:id","urlObject":{"path":["api","admin","order",":id"],"host":[""],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"a508a389-bb7e-4071-80a4-34567563419e"}],"id":"7bf3544e-4262-40af-ab48-29e2626b6a6c","_postman_id":"7bf3544e-4262-40af-ab48-29e2626b6a6c","description":""}],"id":"b4ef6fab-1f58-4f29-b760-7cb68abc37d8","_postman_id":"b4ef6fab-1f58-4f29-b760-7cb68abc37d8","description":""},{"name":"Payment","item":[{"name":"Payment","id":"763db95f-b87d-47d7-ac7f-86dfab3ef01c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/payment/create-payment-intent","urlObject":{"path":["api","payment","create-payment-intent"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"763db95f-b87d-47d7-ac7f-86dfab3ef01c"}],"id":"c6e3071d-1ae4-4ce5-a056-80f8174a57be","_postman_id":"c6e3071d-1ae4-4ce5-a056-80f8174a57be","description":""},{"name":"File Upload","item":[{"name":"Upload","id":"5f5e3f3a-05b2-4617-a48d-18a7c9052766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"/api/upload","urlObject":{"path":["api","upload"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"5f5e3f3a-05b2-4617-a48d-18a7c9052766"}],"id":"fe25df1d-c6fc-4332-985f-7083fa50dd7a","_postman_id":"fe25df1d-c6fc-4332-985f-7083fa50dd7a","description":""}],"variable":[{"key":"baseURL","value":"","type":"default"}]}