{"info":{"_postman_id":"d36bf9eb-c05c-48d8-9f81-110c9e84553a","name":"Go Ecommerce Master Class","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8734310","collectionId":"d36bf9eb-c05c-48d8-9f81-110c9e84553a","publishedId":"2sA3BkcD5x","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-16T15:39:21.000Z"},"item":[{"name":"User Service","item":[{"name":"Seller","item":[{"name":"Join Seller Program","event":[{"listen":"test","script":{"id":"5b5f932b-bf88-4e36-831e-5e73606473bb","exec":["var jsonData = JSON.parse(responseBody)","postman.setEnvironmentVariable(\"user_token\", jsonData.data.token)"],"type":"text/javascript","packages":{}}}],"id":"c187d164-5a0b-4392-97e7-e820fcdfc9c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"first_name\": \"Jay\",\n \"last_name\": \"Gogoi\",\n \"phone_number\": \"9090909090\",\n \"bankAccountNumber\": 123456789,\n \"swiftCode\":\"DB120029\",\n \"paymentType\": \"regular\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/become-seller","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","become-seller"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c187d164-5a0b-4392-97e7-e820fcdfc9c7"},{"name":"Edit Payment Method","id":"75c74794-a446-4d13-b9d0-cb12a5d716cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n \"bankAccountNumber\": \"123456789\",\n \"swiftCode\":\"DB120029\",\n \"paymentType\": \"regular\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/payment-methods/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["payment-methods","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"75c74794-a446-4d13-b9d0-cb12a5d716cd"},{"name":"Get Payment Methods","id":"d3451bde-5b66-441e-baf3-6dd8ce9cb9ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{USER_URL}}/payment-methods","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["payment-methods"],"host":["{{USER_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3451bde-5b66-441e-baf3-6dd8ce9cb9ab"},{"name":"Get Product by ID","id":"8cdae75d-896d-4423-8e28-8417822a8cd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/products/5","urlObject":{"path":["products","5"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cdae75d-896d-4423-8e28-8417822a8cd5"},{"name":"Get Seller Products","id":"99685a43-b143-4ee3-ad4f-122cb8209016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/products","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","products"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99685a43-b143-4ee3-ad4f-122cb8209016"},{"name":"Edit Product","id":"191041dd-7653-4c39-a767-851e22c34a07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"MacbookPro 16 inch\",\n    \"description\":\"refurbished laptop \",\n    \"category_id\": 2,\n    \"image_url\":\"https://www.bosch-ebike.com/fileadmin/_processed_/2/0/csm_Stage_P03_normal_252b4ca311.jpg?_=1591798783\",\n    \"price\":1400\n }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/products/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","products","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"191041dd-7653-4c39-a767-851e22c34a07"},{"name":"Update Stock","id":"169a9449-9be5-4282-a510-44d2042d9225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"stock\":10\n }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/products/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","products","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"169a9449-9be5-4282-a510-44d2042d9225"},{"name":"UploadFile","id":"1d10957e-c909-4473-a8a3-463e66cc7fc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"file","file":{"src":""}},"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"1d10957e-c909-4473-a8a3-463e66cc7fc3"},{"name":"Delete Product","id":"86db83dd-9ec4-4a01-a4bd-1b5d15a9c437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/products/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","products","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86db83dd-9ec4-4a01-a4bd-1b5d15a9c437"},{"name":"Create Category","id":"a2539bcd-1ffc-41ca-a743-e2ed96ddca7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Smart TVs\",\n    \"parent_id\": null,\n    \"image_url\":\"48c867b9-09a6-4d7b-b8d6-7244c049965f__Scaling_1.jpg\",\n    \"display_order\": 1\n }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/categories","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","categories"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2539bcd-1ffc-41ca-a743-e2ed96ddca7c"},{"name":"Edit Category","id":"24773b65-a9da-44c7-88e2-abcb97f89c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Smart TVS\",\n    \"parent_id\": null,\n    \"image_url\":\"48c867b9-09a6-4d7b-b8d6-7244c049965f__Scaling_1.jpg\",\n    \"display_order\": 1\n }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/categories/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","categories","4"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24773b65-a9da-44c7-88e2-abcb97f89c42"},{"name":"Delete Category","id":"d574f8fc-77a1-490e-ad6d-f70b2fdb2b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/categories/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","categories","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d574f8fc-77a1-490e-ad6d-f70b2fdb2b58"},{"name":"Create Product","id":"0d2e84f0-2234-426d-b4f1-6cd570c12719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Google Pixel 2\",\n    \"description\":\"Mobile Phone \",\n    \"category_id\": 1,\n    \"image_url\":\"48c867b9-09a6-4d7b-b8d6-7244c049965f__Scaling_1.jpg\",\n    \"price\":400,\n    \"stock\": 1\n }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/seller/products","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["seller","products"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d2e84f0-2234-426d-b4f1-6cd570c12719"},{"name":"UploadRequest","id":"9255f7a1-3247-4a1b-9b9b-b43da2427fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://qb0woteuv8.execute-api.eu-central-1.amazonaws.com/prod/uploader?file=Scaling_1.jpg","urlObject":{"protocol":"https","path":["prod","uploader"],"host":["qb0woteuv8","execute-api","eu-central-1","amazonaws","com"],"query":[{"key":"file","value":"Scaling_1.jpg"}],"variable":[]}},"response":[],"_postman_id":"9255f7a1-3247-4a1b-9b9b-b43da2427fbd"}],"id":"5bd9279e-179b-422c-a905-e72ffb864f84","_postman_id":"5bd9279e-179b-422c-a905-e72ffb864f84","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}}},{"name":"User Signup","id":"a2a45a52-aa55-4950-9009-cc7d6841123a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"jay22@test.com\",\n    \"password\": \"123456\",\n    \"phone\": \"+491700000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/register","urlObject":{"path":["register"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2a45a52-aa55-4950-9009-cc7d6841123a"},{"name":"User  Login","event":[{"listen":"test","script":{"id":"f7f7ca04-2e10-4084-8fd6-92d7428c345a","exec":["var jsonData = JSON.parse(responseBody)","postman.setEnvironmentVariable(\"user_token\", jsonData.token)"],"type":"text/javascript","packages":{}}}],"id":"322c9437-510c-41a5-a3e3-c5ddf4110a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"jay22@test.com\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/login","urlObject":{"path":["login"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"322c9437-510c-41a5-a3e3-c5ddf4110a03"},{"name":"Me","event":[{"listen":"test","script":{"id":"f7f7ca04-2e10-4084-8fd6-92d7428c345a","exec":["var jsonData = JSON.parse(responseBody)","postman.setEnvironmentVariable(\"user_token\", jsonData.token)"],"type":"text/javascript","packages":{}}}],"id":"372bec87-309a-4e3b-8643-5b7c6e75fd81","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":"{{BASE_URL}}/me","urlObject":{"path":["me"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"372bec87-309a-4e3b-8643-5b7c6e75fd81"},{"name":"User  Verify","id":"14460d7f-2327-46ab-827c-4ddcb05fd708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/users/verify","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","verify"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14460d7f-2327-46ab-827c-4ddcb05fd708"},{"name":"User  Verify Code","id":"0db97e20-6ed2-4dfb-8f12-25171c43e60c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"code\": 271698\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/verify","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","verify"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0db97e20-6ed2-4dfb-8f12-25171c43e60c"},{"name":"Create Profile","id":"4d0ccff9-4661-42bc-a317-c2fcc600aba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"first_name\": \"Jay\",\n \"last_name\": \"Gogoi\",\n \"address\": {\n     \"address_line1\": \"my address 1\",\n     \"address_line2\": \"my address line 2\",\n     \"city\": \"Berlin\",\n     \"post_code\": 10785,\n     \"country\": \"DE\"\n }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/profile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","profile"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d0ccff9-4661-42bc-a317-c2fcc600aba5"},{"name":"Update Profile","id":"0c2cdcac-6f5d-4bf9-ac0c-3a24dd43eeb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n \"first_name\": \"Jay\",\n \"last_name\": \"Go\",\n \"address\": {\n     \"address_line1\": \"my address\",\n     \"address_line2\": \"my address line\",\n     \"city\": \"Berlin\",\n     \"post_code\": 10785,\n     \"country\": \"DE\"\n }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/profile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","profile"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c2cdcac-6f5d-4bf9-ac0c-3a24dd43eeb4"},{"name":"Get Profile","id":"316c47e6-3c47-4764-b23f-f380c9d2b925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/profile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","profile"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"316c47e6-3c47-4764-b23f-f380c9d2b925"},{"name":"Payment Methods","id":"278465c3-fd54-49b6-b4ff-55da23a632a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{USER_URL}}/payment-methods","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["payment-methods"],"host":["{{USER_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"278465c3-fd54-49b6-b4ff-55da23a632a9"},{"name":"Create Cart","id":"7e3e0224-04e0-44c8-a1f8-ed9b021da385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"qty\": 1,\n \"product_id\": 8\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/cart","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","cart"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e3e0224-04e0-44c8-a1f8-ed9b021da385"},{"name":"Create Order","id":"84154bd9-b3a3-4367-af08-d2d0fc790b4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/order","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","order"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84154bd9-b3a3-4367-af08-d2d0fc790b4c"},{"name":"Get Orders","id":"61010a52-50a5-41e7-be77-2467b1314813","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/order/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","order","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"61010a52-50a5-41e7-be77-2467b1314813"},{"name":"Get Order By Id","id":"2322d4aa-546b-4837-9313-f401a2c07084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/order","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","order"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2322d4aa-546b-4837-9313-f401a2c07084"},{"name":"Get Cart Items","id":"51b8db3b-30bf-4917-b292-70268131a0f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/cart","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","cart"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51b8db3b-30bf-4917-b292-70268131a0f0"},{"name":"Get Cart Items Copy","id":"712a37af-ea7b-4f01-97ea-692036506912","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/cart","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","cart"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"712a37af-ea7b-4f01-97ea-692036506912"},{"name":"Create Payment","id":"da2faa79-2458-4afa-86a5-d2b61b879c69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/buyer/payment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["buyer","payment"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da2faa79-2458-4afa-86a5-d2b61b879c69"},{"name":"Verify_Payment","id":"9d462278-205a-470d-9250-d4c2d4471e81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/buyer/verify","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["buyer","verify"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d462278-205a-470d-9250-d4c2d4471e81"},{"name":"Update Cart","id":"d0714489-8849-46ae-bfa0-65be9c6befdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n \"qty\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/cart/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["users","cart","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0714489-8849-46ae-bfa0-65be9c6befdf"},{"name":"Delete Cart","id":"c9e50928-cee3-4487-9a8a-560bc6823346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{USER_URL}}/cart/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","id":"1f034325-2400-43f0-8e13-22287c899609","name":"User Service","type":"folder"}},"urlObject":{"path":["cart","1"],"host":["{{USER_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9e50928-cee3-4487-9a8a-560bc6823346"}],"id":"1f034325-2400-43f0-8e13-22287c899609","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"aea8b8f8-0163-4411-a093-4579498c245e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"34028085-1d9d-438d-9878-8b46267fba89","type":"text/javascript","exec":[""]}}],"_postman_id":"1f034325-2400-43f0-8e13-22287c899609","description":""},{"name":"Product Service","item":[{"name":"Get Products","id":"e7c97a80-c7fb-493a-a3e8-b68d3489b073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/products","urlObject":{"path":["products"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7c97a80-c7fb-493a-a3e8-b68d3489b073"},{"name":"Get Product by ID","id":"9bec236c-b07f-4b0d-a60e-c8eeeadeb66f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/products/1","urlObject":{"path":["products","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bec236c-b07f-4b0d-a60e-c8eeeadeb66f"},{"name":"Get Categories","id":"c67256e0-9460-4848-ac67-d5b830f1fd4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/categories","urlObject":{"path":["categories"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c67256e0-9460-4848-ac67-d5b830f1fd4d"},{"name":"Get Top Categories","id":"15591970-86d6-4388-a6fb-689fb328fcd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{PRODUCT_URL}}/category?type=top","urlObject":{"path":["category"],"host":["{{PRODUCT_URL}}"],"query":[{"key":"type","value":"top"}],"variable":[]}},"response":[],"_postman_id":"15591970-86d6-4388-a6fb-689fb328fcd9"},{"name":"Get Category by id","id":"6c07cdf4-e619-40e6-b561-af6434ea33ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/categories/1","urlObject":{"path":["categories","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c07cdf4-e619-40e6-b561-af6434ea33ac"},{"name":"Get Product from Queue URL","id":"442ec11f-b2f9-46a0-8ab0-c4f756b19659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"GET_PRODUCT\",\n    \"productId\": \"63dfc53017f0c77b678b8d0c\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{PRODUCT_URL}}/products-queue","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d35634a1-d157-47d4-bebb-a808c6b3e053","id":"d35634a1-d157-47d4-bebb-a808c6b3e053","name":"Product Service","type":"folder"}},"urlObject":{"path":["products-queue"],"host":["{{PRODUCT_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"442ec11f-b2f9-46a0-8ab0-c4f756b19659"}],"id":"d35634a1-d157-47d4-bebb-a808c6b3e053","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"23b1ebb4-32fc-42dc-8a5a-98a20872b828","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"81a726c9-cbe4-4ffb-94b9-1d2583b418c5","type":"text/javascript","exec":[""]}}],"_postman_id":"d35634a1-d157-47d4-bebb-a808c6b3e053","description":""},{"name":"Transaction Service","item":[{"name":"Get Order","id":"659108f1-827d-465f-900f-b0b493387c6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/seller/orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","id":"6cfed153-fcc0-44b7-924d-b34965e73391","name":"Transaction Service","type":"folder"}},"urlObject":{"path":["seller","orders"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"659108f1-827d-465f-900f-b0b493387c6a"},{"name":"Get seller order details","id":"ad26023a-5ca5-42b7-9936-7ff27439639e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/seller/orders/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","id":"6cfed153-fcc0-44b7-924d-b34965e73391","name":"Transaction Service","type":"folder"}},"urlObject":{"path":["seller","orders","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad26023a-5ca5-42b7-9936-7ff27439639e"},{"name":"Place Order","id":"8d1b4857-3ed0-4e29-b786-4945b1c095c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://053l6v6ew1.execute-api.eu-central-1.amazonaws.com/prod/transaction","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","id":"6cfed153-fcc0-44b7-924d-b34965e73391","name":"Transaction Service","type":"folder"}},"urlObject":{"protocol":"https","path":["prod","transaction"],"host":["053l6v6ew1","execute-api","eu-central-1","amazonaws","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d1b4857-3ed0-4e29-b786-4945b1c095c2"},{"name":"Confirm Order","id":"1deacdb3-0999-42e2-b432-b26c78bb0341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://i9zuzpsxp2.execute-api.eu-central-1.amazonaws.com/order","urlObject":{"protocol":"https","path":["order"],"host":["i9zuzpsxp2","execute-api","eu-central-1","amazonaws","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1deacdb3-0999-42e2-b432-b26c78bb0341"},{"name":"Get Orders","id":"c43ba2af-57f2-4dc4-aa63-f9e82128ee48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"Message\": {\n        \"userId\": 1,\n        \"items\": [\n            {\n                \"cart_id\": \"1\",\n                \"item_id\": \"1\",\n                \"product_id\": \"63dfc53017f0c77b678b8d0c\",\n                \"name\": \"Macbook Pro 16 inch\",\n                \"price\": \"1200\",\n                \"item_qty\": 1,\n                \"image_url\": \"https://www.bosch-ebike.com/fileadmin/_processed_/2/0/csm_Stage_P03_normal_252b4ca311.jpg?_=1591798783\",\n                \"created_at\": \"2023-05-01T11:52:55.259Z\"\n            }\n        ],\n        \"transaction\": {\n            \"id\": \"pi_3N8kuJIP7Vashcue0eai2G4R\",\n            \"object\": \"payment_intent\",\n            \"amount\": 125308,\n            \"amount_capturable\": 0,\n            \"amount_details\": {\n                \"tip\": {}\n            },\n            \"amount_received\": 125308,\n            \"application\": null,\n            \"application_fee_amount\": null,\n            \"automatic_payment_methods\": null,\n            \"canceled_at\": null,\n            \"cancellation_reason\": null,\n            \"capture_method\": \"automatic\",\n            \"client_secret\": \"pi_3N8kuJIP7Vashcue0eai2G4R_secret_TY2cMM0kbG2qNb1wD87oSC355\",\n            \"confirmation_method\": \"automatic\",\n            \"created\": 1684332047,\n            \"currency\": \"usd\",\n            \"customer\": \"cus_NoYghpAVue65a9\",\n            \"description\": null,\n            \"invoice\": null,\n            \"last_payment_error\": null,\n            \"latest_charge\": \"ch_3N8kuJIP7Vashcue0TvmA7GY\",\n            \"livemode\": false,\n            \"metadata\": {},\n            \"next_action\": null,\n            \"on_behalf_of\": null,\n            \"payment_method\": \"pm_1N8kuWIP7VashcueG8ugtP2h\",\n            \"payment_method_options\": {\n                \"card\": {\n                    \"installments\": null,\n                    \"mandate_options\": null,\n                    \"network\": null,\n                    \"request_three_d_secure\": \"automatic\"\n                }\n            },\n            \"payment_method_types\": [\n                \"card\"\n            ],\n            \"processing\": null,\n            \"receipt_email\": null,\n            \"review\": null,\n            \"setup_future_usage\": null,\n            \"shipping\": null,\n            \"source\": null,\n            \"statement_descriptor\": null,\n            \"statement_descriptor_suffix\": null,\n            \"status\": \"succeeded\",\n            \"transfer_data\": null,\n            \"transfer_group\": null\n        }\n    },\n    \"TopicArn\": \"[object Object]\",\n    \"MessageAttributes\": {\n        \"actionType\": {\n            \"DataType\": \"String\",\n            \"StringValue\": \"place_order\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","id":"6cfed153-fcc0-44b7-924d-b34965e73391","name":"Transaction Service","type":"folder"}},"urlObject":{"protocol":"http","port":"3000","path":["orders"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c43ba2af-57f2-4dc4-aa63-f9e82128ee48"},{"name":"Get Transactions","id":"c5ffd154-aecd-47c5-8f1a-d511cb24094c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"Message\": {\n        \"userId\": 1,\n        \"items\": [\n            {\n                \"cart_id\": \"1\",\n                \"item_id\": \"1\",\n                \"product_id\": \"63dfc53017f0c77b678b8d0c\",\n                \"name\": \"Macbook Pro 16 inch\",\n                \"price\": \"1200\",\n                \"item_qty\": 1,\n                \"image_url\": \"https://www.bosch-ebike.com/fileadmin/_processed_/2/0/csm_Stage_P03_normal_252b4ca311.jpg?_=1591798783\",\n                \"created_at\": \"2023-05-01T11:52:55.259Z\"\n            }\n        ],\n        \"transaction\": {\n            \"id\": \"pi_3N8kuJIP7Vashcue0eai2G4R\",\n            \"object\": \"payment_intent\",\n            \"amount\": 125308,\n            \"amount_capturable\": 0,\n            \"amount_details\": {\n                \"tip\": {}\n            },\n            \"amount_received\": 125308,\n            \"application\": null,\n            \"application_fee_amount\": null,\n            \"automatic_payment_methods\": null,\n            \"canceled_at\": null,\n            \"cancellation_reason\": null,\n            \"capture_method\": \"automatic\",\n            \"client_secret\": \"pi_3N8kuJIP7Vashcue0eai2G4R_secret_TY2cMM0kbG2qNb1wD87oSC355\",\n            \"confirmation_method\": \"automatic\",\n            \"created\": 1684332047,\n            \"currency\": \"usd\",\n            \"customer\": \"cus_NoYghpAVue65a9\",\n            \"description\": null,\n            \"invoice\": null,\n            \"last_payment_error\": null,\n            \"latest_charge\": \"ch_3N8kuJIP7Vashcue0TvmA7GY\",\n            \"livemode\": false,\n            \"metadata\": {},\n            \"next_action\": null,\n            \"on_behalf_of\": null,\n            \"payment_method\": \"pm_1N8kuWIP7VashcueG8ugtP2h\",\n            \"payment_method_options\": {\n                \"card\": {\n                    \"installments\": null,\n                    \"mandate_options\": null,\n                    \"network\": null,\n                    \"request_three_d_secure\": \"automatic\"\n                }\n            },\n            \"payment_method_types\": [\n                \"card\"\n            ],\n            \"processing\": null,\n            \"receipt_email\": null,\n            \"review\": null,\n            \"setup_future_usage\": null,\n            \"shipping\": null,\n            \"source\": null,\n            \"statement_descriptor\": null,\n            \"statement_descriptor_suffix\": null,\n            \"status\": \"succeeded\",\n            \"transfer_data\": null,\n            \"transfer_group\": null\n        }\n    },\n    \"TopicArn\": \"[object Object]\",\n    \"MessageAttributes\": {\n        \"actionType\": {\n            \"DataType\": \"String\",\n            \"StringValue\": \"place_order\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/transaction","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":true,"source":{"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","id":"6cfed153-fcc0-44b7-924d-b34965e73391","name":"Transaction Service","type":"folder"}},"urlObject":{"protocol":"http","port":"3000","path":["transaction"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5ffd154-aecd-47c5-8f1a-d511cb24094c"}],"id":"6cfed153-fcc0-44b7-924d-b34965e73391","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{user_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1cacdf39-be6c-48d9-b111-5b54f365a82c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"84ec53e4-e8bf-42dc-8c8e-3a3ff1ae69cc","type":"text/javascript","exec":[""]}}],"_postman_id":"6cfed153-fcc0-44b7-924d-b34965e73391","description":""}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"6a46be49-feec-4745-b909-19779d4f0f21","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cea386bb-616e-43a3-8889-0798d93151bc","type":"text/javascript","exec":[""]}}]}