{"info":{"_postman_id":"6f9ed932-32e2-46c2-ab47-0efae965bc41","name":"Ecom-microservices - API documentation","description":"<html><head></head><body><h2 id=\"🎬-welcome-to-the-microservices-api-documentation\">🎬 Welcome to the Microservices API Documentation</h2>\n<p>Welcome to the <strong>Microservices API</strong> — the backend powering a complete <strong>E-commerce microservices platform</strong>, built using <strong>Spring Boot</strong>, <strong>Spring Cloud</strong>, and modern distributed system components.</p>\n<p>This system is designed with multiple independent services such as <strong>Customer</strong>, <strong>Product</strong>, <strong>Order</strong>, <strong>Payment</strong>, and <strong>Notification</strong>, all connected through <strong>Eureka Discovery</strong>, <strong>Config Server</strong>, and <strong>API Gateway</strong>.</p>\n<p>The architecture supports real-world production features like:</p>\n<ul>\n<li><p>Service Discovery (Eureka)</p>\n</li>\n<li><p>Centralized Configuration (Config Server)</p>\n</li>\n<li><p>API Gateway Routing</p>\n</li>\n<li><p>Kafka-based Async Communication</p>\n</li>\n<li><p>Distributed Tracing (Zipkin)</p>\n</li>\n<li><p>Circuit Breaker / Resilience</p>\n</li>\n</ul>\n<p>This documentation will help you explore all available endpoints, understand request and response formats, and test the APIs locally using Postman.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39898850","collectionId":"6f9ed932-32e2-46c2-ab47-0efae965bc41","publishedId":"2sBXVhCqdQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-14T18:05:04.000Z"},"item":[{"name":"customer service","item":[{"name":"create customer","id":"a84f08d7-c062-49d1-b8de-2187f6f6f0ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"firstname\": \"jay\",\n  \"lastname\": \"oiu\",\n  \"email\": \"jayh@gmail.com\",\n  \"address\": {\n    \"street\": \"MG Road\",\n    \"city\": \"delhi\",\n    \"state\": \"Karnataka\",\n    \"pincode\": \"234567\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8090/api/v1/customers","urlObject":{"protocol":"http","port":"8090","path":["api","v1","customers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a84f08d7-c062-49d1-b8de-2187f6f6f0ba"},{"name":"update customer","id":"c3ec0d26-fdb9-43fc-9e0d-da9916f228a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8222/api/v1/customers/69459a6455e13226fb510c7c","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers","69459a6455e13226fb510c7c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3ec0d26-fdb9-43fc-9e0d-da9916f228a2"},{"name":"find by id","id":"409120ad-7c21-49cf-a728-d98e4b3d89de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8090/api/v1/customers/69459a6455e13226fb510c7c","urlObject":{"protocol":"http","port":"8090","path":["api","v1","customers","69459a6455e13226fb510c7c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"409120ad-7c21-49cf-a728-d98e4b3d89de"},{"name":"delete customer","id":"f5c17012-8c3c-4412-a28f-b086c2d4114e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8090/api/v1/customers/69459a6455e13226fb510c7c","urlObject":{"protocol":"http","port":"8090","path":["api","v1","customers","69459a6455e13226fb510c7c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5c17012-8c3c-4412-a28f-b086c2d4114e"},{"name":"test","id":"a3f8e95d-39c8-4274-aa18-723d5c19e2f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8090/api/v1/customers/test","urlObject":{"protocol":"http","port":"8090","path":["api","v1","customers","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3f8e95d-39c8-4274-aa18-723d5c19e2f2"}],"id":"1c57aeca-4042-43e3-9455-d1e23f7d0fd6","_postman_id":"1c57aeca-4042-43e3-9455-d1e23f7d0fd6","description":""},{"name":"Gateway urls","item":[{"name":"customer","item":[{"name":"create customer","id":"f1df7ad1-a4c6-47ae-ad30-4a6696311e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"firstname\": \"sam\",\n  \"lastname\": \"max\",\n  \"email\": \"sam@gmail.com\",\n  \"address\": {\n    \"street\": \"wave Road\",\n    \"houseNumber\": \"25\",\n    \"zipCode\": \"12345\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8222/api/v1/customers","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1df7ad1-a4c6-47ae-ad30-4a6696311e34"},{"name":"test","id":"cb41a578-4363-4db4-9b4e-be4e0981c075","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/customers/test","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb41a578-4363-4db4-9b4e-be4e0981c075"},{"name":"delete customer","id":"5fac4c6b-a870-4081-bc5b-172ae80fa923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8222/api/v1/customers/69459a6455e13226fb510c7c","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers","69459a6455e13226fb510c7c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5fac4c6b-a870-4081-bc5b-172ae80fa923"},{"name":"find by id","id":"25b7ecba-b9bc-40d3-b134-2d4aa5ddb7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/customers/69459a6455e13226fb510c7c","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers","69459a6455e13226fb510c7c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"25b7ecba-b9bc-40d3-b134-2d4aa5ddb7b0"},{"name":"update customer","id":"60f7be9d-9a5b-43f3-a7a6-f5ffc43e8004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"60f7be9d-9a5b-43f3-a7a6-f5ffc43e8004"},{"name":"find all","id":"5d353a96-b592-4f63-acff-1147cbb166b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/customers/all","urlObject":{"protocol":"http","port":"8222","path":["api","v1","customers","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d353a96-b592-4f63-acff-1147cbb166b1"}],"id":"ed62cd55-803f-4a3c-b581-5e888c4341b9","_postman_id":"ed62cd55-803f-4a3c-b581-5e888c4341b9","description":""},{"name":"product","item":[{"name":"test","id":"aa667310-7ca0-43f0-aaba-14e0703df6b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/products/test","urlObject":{"protocol":"http","port":"8222","path":["api","v1","products","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa667310-7ca0-43f0-aaba-14e0703df6b6"},{"name":"find by id","id":"a9935f4c-0bbe-4175-ad5f-5423b1daa043","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/products/1","urlObject":{"protocol":"http","port":"8222","path":["api","v1","products","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9935f4c-0bbe-4175-ad5f-5423b1daa043"},{"name":"find all","id":"996883ed-265e-4495-bca7-ca19062cc12f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/products","urlObject":{"protocol":"http","port":"8222","path":["api","v1","products"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"996883ed-265e-4495-bca7-ca19062cc12f"},{"name":"create product","id":"e864ff20-ace0-450f-b5bc-7a1223d50d71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8222/api/v1/products","urlObject":{"protocol":"http","port":"8222","path":["api","v1","products"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e864ff20-ace0-450f-b5bc-7a1223d50d71"},{"name":"New Request","id":"c3d02348-83cf-4b5f-8b2f-43b516b9b6bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"c3d02348-83cf-4b5f-8b2f-43b516b9b6bd"}],"id":"012f48d5-8044-4141-b9a6-80b0592dd139","_postman_id":"012f48d5-8044-4141-b9a6-80b0592dd139","description":""},{"name":"Order","item":[{"name":"test","id":"20586ca4-0921-400f-8831-7ac503f3102a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/orders/test","urlObject":{"protocol":"http","port":"8222","path":["api","v1","orders","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"20586ca4-0921-400f-8831-7ac503f3102a"},{"name":"create order","id":"4e6d0815-90db-4c45-b85d-d2c68721174c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4e6d0815-90db-4c45-b85d-d2c68721174c"},{"name":"find all order","id":"5003793e-10a5-4b40-91b2-abf66db840f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"5003793e-10a5-4b40-91b2-abf66db840f9"},{"name":"find by id","id":"6fc09fa2-9236-4b6b-8778-2cff3484446a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6fc09fa2-9236-4b6b-8778-2cff3484446a"}],"id":"cdfcac2e-00af-4658-8bb9-7e85ec018284","_postman_id":"cdfcac2e-00af-4658-8bb9-7e85ec018284","description":""},{"name":"payemnt","item":[{"name":"test","id":"de772d78-49b3-45d4-8a00-260ad12a1dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8222/api/v1/payments/test","urlObject":{"protocol":"http","port":"8222","path":["api","v1","payments","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"de772d78-49b3-45d4-8a00-260ad12a1dd5"},{"name":"create payment","id":"56a0b55f-2b1d-4652-83d2-962bd3288ae4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"56a0b55f-2b1d-4652-83d2-962bd3288ae4"}],"id":"5ed9950f-2d9e-4a05-992e-ce26f281dec9","_postman_id":"5ed9950f-2d9e-4a05-992e-ce26f281dec9","description":""}],"id":"949697cd-4916-4bb5-9a1d-45bb26fa858d","_postman_id":"949697cd-4916-4bb5-9a1d-45bb26fa858d","description":""},{"name":"product service","item":[{"name":"create product","id":"ee4e5f38-f3b9-4f7e-9071-390a70a27cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"iPhone 15\",\n  \"description\": \"Apple iPhone 15 with A16 Bionic chip\",\n  \"availableQuantity\": 50,\n  \"price\": 79999.99,\n  \"categoryId\": 1\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8050/api/v1/products","urlObject":{"protocol":"http","port":"8050","path":["api","v1","products"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee4e5f38-f3b9-4f7e-9071-390a70a27cf0"},{"name":"find by id","id":"d871bc81-77e8-473e-b50c-fdadb237baae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8050/api/v1/products/1201","urlObject":{"protocol":"http","port":"8050","path":["api","v1","products","1201"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d871bc81-77e8-473e-b50c-fdadb237baae"},{"name":"find all","id":"e714025b-c74d-487a-9f32-6056dccc19e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8050/api/v1/products","urlObject":{"protocol":"http","port":"8050","path":["api","v1","products"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e714025b-c74d-487a-9f32-6056dccc19e6"},{"name":"purchase product","id":"34c1c855-fdbb-4bcb-a78b-f2244c21b816","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"package com.example.product.product;\n\nimport jakarta.validation.constraints.NotNull;\nimport jakarta.validation.constraints.Positive;\n\nimport java.math.BigDecimal;\n\npublic record ProductRequest(\n\n        Integer id,\n        @NotNull(message = \"Product name is required\")\n        String name,\n        @NotNull(message = \"Product description is required\")\n        String description,\n        @Positive(message = \"Available quantity should be positive\")\n        double availableQuantity,\n        @Positive(message = \"Price should be positive\")\n        BigDecimal price,\n        @NotNull(message = \"Product category is required\")\n        Integer categoryId\n) {\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8222/api/v1/products/purchase","urlObject":{"protocol":"http","port":"8222","path":["api","v1","products","purchase"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"34c1c855-fdbb-4bcb-a78b-f2244c21b816"},{"name":"test","id":"b1c1c272-6991-414e-b9d3-f5a70dc8a2db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8050/api/v1/products/test","urlObject":{"protocol":"http","port":"8050","path":["api","v1","products","test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1c1c272-6991-414e-b9d3-f5a70dc8a2db"}],"id":"58b54428-b492-4607-867a-495cad91ae69","_postman_id":"58b54428-b492-4607-867a-495cad91ae69","description":""},{"name":"Health / acutator","item":[{"name":"gateway","id":"7b965385-4a86-42ff-8f9a-e46c62006fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8888/actuator/health","urlObject":{"protocol":"http","port":"8888","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b965385-4a86-42ff-8f9a-e46c62006fc6"},{"name":"config","id":"4fee41eb-6f44-40d2-90fa-6e5a1c9ba17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8888/actuator/health","urlObject":{"protocol":"http","port":"8888","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fee41eb-6f44-40d2-90fa-6e5a1c9ba17a"},{"name":"customer","id":"b4a5cf97-9e2d-4342-9c75-040e28838f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8090/actuator/health","urlObject":{"protocol":"http","port":"8090","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4a5cf97-9e2d-4342-9c75-040e28838f88"},{"name":"product","id":"7c968d0f-111d-4982-8f33-ea4c1dbf27ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8050/actuator/health","urlObject":{"protocol":"http","port":"8050","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c968d0f-111d-4982-8f33-ea4c1dbf27ad"},{"name":"order","id":"495678ad-9a77-4225-bc7b-36be5f4c20b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8070/actuator/health","urlObject":{"protocol":"http","port":"8070","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"495678ad-9a77-4225-bc7b-36be5f4c20b4"},{"name":"payment","id":"069c99e9-3ca3-4059-8bd3-f38dcf524d47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8060/actuator/health","urlObject":{"protocol":"http","port":"8060","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"069c99e9-3ca3-4059-8bd3-f38dcf524d47"},{"name":"notification","id":"daf16a6e-c9fe-4be3-997c-581ab19ddf01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8040/actuator/health","urlObject":{"protocol":"http","port":"8040","path":["actuator","health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"daf16a6e-c9fe-4be3-997c-581ab19ddf01"}],"id":"3a579bb4-da44-45de-b231-2e5f456d50a9","_postman_id":"3a579bb4-da44-45de-b231-2e5f456d50a9","description":""}]}