{"info":{"_postman_id":"b7d4f1e7-1ec3-469a-a453-f016c51c0f7f","name":"Ecommerce_API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"25692338","collectionId":"b7d4f1e7-1ec3-469a-a453-f016c51c0f7f","publishedId":"2s935vkKah","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-14T01:16:05.000Z"},"item":[{"name":"Register","id":"b3640536-d71b-4d33-9fdb-aaa387b5e60a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\":123 ,\r\n    \"username\": \"healthasyst\",\r\n    \"password\": \"123456\",\r\n    \"email\": \"healthasyst1@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/auth/register","urlObject":{"protocol":"http","port":"8000","path":["api","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3640536-d71b-4d33-9fdb-aaa387b5e60a"},{"name":"Login","id":"40009f46-1908-41c4-8812-f25212e82433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"healthasyst1@gmail.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/auth/login","urlObject":{"protocol":"http","port":"8000","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"40009f46-1908-41c4-8812-f25212e82433"},{"name":"Update_Profile","id":"0becf50b-5a34-41b3-93a7-441e6c895725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 123,\r\n    \"username\": \"healthyFy \"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/update/64f1d3edd2040952290059da","urlObject":{"protocol":"http","port":"8000","path":["api","users","update","64f1d3edd2040952290059da"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0becf50b-5a34-41b3-93a7-441e6c895725"},{"name":"Products","id":"f0ccab09-e715-4820-b568-1cc279b644e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Health Checker\",\r\n        \"description\":\"Medicine\",\r\n        \"img\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Nokia_3310_Blue_R7309170_%28retouch%29.png/800px-Nokia_3310_Blue_R7309170_%28retouch%29.png\",\r\n        \"categories\": \"Screen\",\r\n        \"size\": \"6.1 inch\",\r\n        \"color\": \"golden\",\r\n        \"price\": \"199999\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/products/create","urlObject":{"protocol":"http","port":"8000","path":["api","products","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0ccab09-e715-4820-b568-1cc279b644e8"},{"name":"Get_All_Products","id":"015d80ba-cc63-4d72-b2a6-7f2e0d6ce69c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/products/getAllDetails/Screen","urlObject":{"protocol":"http","port":"8000","path":["api","products","getAllDetails","Screen"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"015d80ba-cc63-4d72-b2a6-7f2e0d6ce69c"},{"name":"Create Cart","id":"c8d7f2e0-5419-4d99-80a6-70b127fb0c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\":\"1\",\r\n       \"products\": [\r\n           {\r\n                 \"productId\":\"63e0e03dcf01a14b267482f4\",\r\n                 \"quantity\":\"10\"\r\n\r\n           }\r\n       ] \r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/cart/create","urlObject":{"protocol":"http","port":"8000","path":["api","cart","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8d7f2e0-5419-4d99-80a6-70b127fb0c42"},{"name":"Update Cart","id":"12028490-7d74-4a2b-a5dd-ea7d69ec00ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"2\",\r\n    \"products\": [\r\n        {\r\n            \"productId\": \"63e0d5fae9cc292e9c427f4\",\r\n            \"quantity\": \"10\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/cart/update/64f1d8dead570fe88b03f1e7","urlObject":{"protocol":"http","port":"8000","path":["api","cart","update","64f1d8dead570fe88b03f1e7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"12028490-7d74-4a2b-a5dd-ea7d69ec00ba"},{"name":"Get User Cart","id":"4bcaf4e0-6526-4f68-8e20-71535209791f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/cart/find/1","urlObject":{"protocol":"http","port":"8000","path":["api","cart","find","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bcaf4e0-6526-4f68-8e20-71535209791f"},{"name":"Delete Cart","id":"837e0ccc-25d2-41b5-8bf2-0341c16a7dfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/cart/delete/63eacdc6e9c34efc011b9d48","urlObject":{"protocol":"http","port":"8000","path":["api","cart","delete","63eacdc6e9c34efc011b9d48"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"837e0ccc-25d2-41b5-8bf2-0341c16a7dfb"},{"name":"Get All Cart Details","id":"57a6e102-7a4a-4b1d-8029-c82d7f4916bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/cart/getAllDetails","urlObject":{"protocol":"http","port":"8000","path":["api","cart","getAllDetails"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"57a6e102-7a4a-4b1d-8029-c82d7f4916bf"},{"name":"Create Order","id":"8cec1b18-e3c9-4408-9416-66b0f825ed52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n     \"userId\": \"1\",\r\n        \"products\": [\r\n            {\r\n              \"productId\": \"63e0d5fae9cc292e9c427f69\",\r\n              \"quantity\":700 \r\n            }\r\n        ],\r\n\r\n        \r\n        \"amount\":1700 ,\r\n        \"address\":\"mg\" ,\r\n        \"status\": \"PENDING\"\r\n       \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/orders/createOrder","urlObject":{"protocol":"http","port":"8000","path":["api","orders","createOrder"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cec1b18-e3c9-4408-9416-66b0f825ed52"},{"name":"Update Order","id":"e800f73c-c445-40db-9ee2-a26917dba403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n        \"products\": [\r\n            {\r\n              \"productId\": \"63e0d5fae9cc292e9c427f67\",\r\n              \"quantity\":542 \r\n            }\r\n        ],\r\n\r\n        \r\n        \"amount\":2356 ,\r\n        \"address\":\"sad\" ,\r\n        \"status\": \"PENDING\"\r\n       \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/orders/update/64f1d988ad570fe88b03f1f5","urlObject":{"protocol":"http","port":"8000","path":["api","orders","update","64f1d988ad570fe88b03f1f5"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e800f73c-c445-40db-9ee2-a26917dba403"},{"name":"Delete Order","id":"db9d57ca-aedb-44bf-aae8-394d89a29227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/orders/delete/64f1d988ad570fe88b03f1f5","urlObject":{"protocol":"http","port":"8000","path":["api","orders","delete","64f1d988ad570fe88b03f1f5"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"db9d57ca-aedb-44bf-aae8-394d89a29227"},{"name":"Get All Details","id":"c2781998-6c47-4410-a52d-8c7d655d6040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/orders/getAllDetails","urlObject":{"protocol":"http","port":"8000","path":["api","orders","getAllDetails"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2781998-6c47-4410-a52d-8c7d655d6040"},{"name":"Find User Cart","id":"0dde3492-c98b-481a-af28-92f1433a6e3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/orders/find/1","urlObject":{"protocol":"http","port":"8000","path":["api","orders","find","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dde3492-c98b-481a-af28-92f1433a6e3c"}]}