{"info":{"_postman_id":"c0a69261-bb59-4dff-a8b8-0215c8d99938","name":"Microservices","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6971683","collectionId":"c0a69261-bb59-4dff-a8b8-0215c8d99938","publishedId":"TVCZbBGs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-26T19:54:52.000Z"},"item":[{"name":"Zuul","item":[{"name":"Zuul routes","id":"dd5ba208-7e5e-4f31-9634-586ee2dd194f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/actuator/routes","description":"<p>Zuul routes</p>\n","urlObject":{"protocol":"http","port":"5555","path":["actuator","routes"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd5ba208-7e5e-4f31-9634-586ee2dd194f"}],"id":"ca205967-abbc-4a51-8cab-1cf0a3fcec0b","_postman_id":"ca205967-abbc-4a51-8cab-1cf0a3fcec0b","description":""},{"name":"Product","item":[{"name":"List  Products (By Type) ","id":"e3e0588b-9628-4a1d-8ae5-b64f851d9d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5555/product-service/api/v1/product","description":"<p>List all products or specific types of products using RequestParam \"type\".</p>\n","urlObject":{"protocol":"http","port":"5555","path":["product-service","api","v1","product"],"host":["localhost"],"query":[{"disabled":true,"key":"type","value":null}],"variable":[]}},"response":[],"_postman_id":"e3e0588b-9628-4a1d-8ae5-b64f851d9d3e"},{"name":"Find Product By Id","id":"764e966c-adf7-402a-9501-405f4e682f18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/product-service/api/v1/product/:productId","description":"<p>Find Product By Id</p>\n","urlObject":{"protocol":"http","port":"5555","path":["product-service","api","v1","product",":productId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"764e966c-adf7-402a-9501-405f4e682f18"},{"name":"Save New Product","id":"d112c7ef-be6a-4cc3-a7e3-e5d9c717ae8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n  \r\n        \"username\": \"update\",\r\n        \"password\": \"pass\",\r\n        \"type\": \"BASIC\",\r\n        \"login\": {\r\n        \r\n            \"type_info\":\"BASIC\",\r\n            \"type\":\"BASIC\",       \r\n            \"data\": { \r\n                \"username\": \"user1\",\r\n                \"password\": \"pass\"\r\n          }\r\n        }\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user","description":"<p>Save new product</p>\n","urlObject":{"protocol":"http","port":"8080","path":["user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d112c7ef-be6a-4cc3-a7e3-e5d9c717ae8e"},{"name":"Update Product","id":"f2a86e30-3c87-42a6-85f5-df1fa827bfed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uuid\": \"43ac72fb-e595-46a9-9c81-c5fc24944d0d\",\r\n    \"productName\": \"updated name\",\r\n    \"productCode\": \"productCode\",\r\n    \"description\": \"updated description\",\r\n    \"type\": \"updated type\",\r\n    \"price\": \"100.00\",\r\n    \"url\": \"updated url\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/product-service/api/v1/product/:productId","description":"<p>Update product</p>\n","urlObject":{"protocol":"http","port":"5555","path":["product-service","api","v1","product",":productId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"f2a86e30-3c87-42a6-85f5-df1fa827bfed"},{"name":"Delete Product","id":"8d01c907-475b-4c28-8fba-bec5315f6f28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/product-service/api/v1/product/:productId","urlObject":{"protocol":"http","port":"5555","path":["product-service","api","v1","product",":productId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"8d01c907-475b-4c28-8fba-bec5315f6f28"},{"name":"Product Paged List","id":"afa5f17f-7594-459f-8e1c-5d6eb97518ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5555/product-service/api/v1/products","description":"<p>Optional params:\npageNumber: 0 (default)\npageSize: 4 (default)</p>\n","urlObject":{"protocol":"http","port":"5555","path":["product-service","api","v1","products"],"host":["localhost"],"query":[{"disabled":true,"key":"pageNumber","value":null},{"disabled":true,"key":"pageSize","value":null}],"variable":[]}},"response":[],"_postman_id":"afa5f17f-7594-459f-8e1c-5d6eb97518ee"}],"id":"c27ad528-2af3-4eb7-8e1a-9ba40b48d6fa","_postman_id":"c27ad528-2af3-4eb7-8e1a-9ba40b48d6fa","description":""},{"name":"Inventory","item":[{"name":"Find Inventory By Product Id","id":"065534e8-e3b7-4db9-b0e4-a5b126782ffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5555/inventory-service/api/v1/product/:productId/inventory","urlObject":{"protocol":"http","port":"5555","path":["inventory-service","api","v1","product",":productId","inventory"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"065534e8-e3b7-4db9-b0e4-a5b126782ffd"},{"name":"Save New Inventory For Product","id":"535dfd91-613d-481e-a1f2-eccdac4ee84f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n{\n \n    \"productId\": \"644dacda-94bb-4a55-aefd-acc5d803904b\",\n    \"productCode\": \"productCode\",\n    \"quantity\": 20\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/inventory-service/api/v1/product/:productId/inventory","urlObject":{"protocol":"http","port":"5555","path":["inventory-service","api","v1","product",":productId","inventory"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"535dfd91-613d-481e-a1f2-eccdac4ee84f"},{"name":"Update Inventory For Product","id":"c4c6eb59-2778-4fac-8c87-442f3f9f28bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"\n{\n\t\"uuid\":\"f406986a-08de-4cf2-808a-0d6a46901c00\",\n    \"productId\": \"644dacda-94bb-4a55-aefd-acc5d803904b\",\n    \"productCode\": \"c2\",\n    \"quantity\": 200\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/inventory-service/api/v1/product/:productId/inventory","urlObject":{"protocol":"http","port":"5555","path":["inventory-service","api","v1","product",":productId","inventory"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"c4c6eb59-2778-4fac-8c87-442f3f9f28bd"}],"id":"9e5c5a4b-a0c4-4021-86fc-f76c410c431b","_postman_id":"9e5c5a4b-a0c4-4021-86fc-f76c410c431b","description":""},{"name":"Order","item":[{"name":"List Orders","id":"2262f08e-e764-49ea-90f8-d8925971a593","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/order","description":"<p>List orders. \nOptional Params: pageNumber(default 0) and pageSize(default 15)\n </p>\n","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order"],"host":["localhost"],"query":[{"disabled":true,"key":"pageNumber","value":null},{"disabled":true,"key":"pageSize","value":null}],"variable":[]}},"response":[],"_postman_id":"2262f08e-e764-49ea-90f8-d8925971a593"},{"name":"Find Order By Order Id","id":"cef45254-5868-4cd4-a3fd-fb45657cc69e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/order/:orderId","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order",":orderId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"orderId"}]}},"response":[],"_postman_id":"cef45254-5868-4cd4-a3fd-fb45657cc69e"},{"name":"Save New Order","id":"336ab930-a845-4c29-b94d-9b245eb6e0ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n    \"customer_uuid\": \"942b2965-7676-4dfa-a9dd-ddf97dba11c6\",\r\n    \"customerEmail\": \"email@gmail.com\",\r\n    \"orderItems\": [\r\n        {\r\n            \"productId\": \"644dacda-94bb-4a55-aefd-acc5d803904d\",\r\n            \"productCode\": \"c1\",\r\n            \"quantity\": 25,\r\n            \"subtotal\": 15,\r\n            \"serialNumber\": 2\r\n        },\r\n        {\r\n            \"productId\": \"43ac72fb-e595-46a9-9c81-c5fc24944d0b\",\r\n            \"productCode\": \"c2\",\r\n            \"quantity\": 5,\r\n            \"subtotal\": 10,\r\n            \"serialNumber\": 1\r\n        }\r\n    ],\r\n    \"orderTotal\": 1500.00,\r\n    \"uuid\": \"8963de25-c284-4240-a6e6-5454fdecd6a4\"\r\n  \r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/order","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"336ab930-a845-4c29-b94d-9b245eb6e0ba"},{"name":"Delete Order By Order Id","id":"79cf9c9b-bcd2-4313-87fc-e68e1a56abd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/order/:orderId","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order",":orderId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"orderId"}]}},"response":[],"_postman_id":"79cf9c9b-bcd2-4313-87fc-e68e1a56abd9"},{"name":"Find Customer By Customer Id","id":"8b0ddd86-2bdc-4f46-8fbf-331bb5bc429b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/customer/:customerId","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","customer",":customerId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"customerId"}]}},"response":[],"_postman_id":"8b0ddd86-2bdc-4f46-8fbf-331bb5bc429b"},{"name":"Save New Customer","id":"01575187-3e6e-4e64-b430-b09d5f76767d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerName\": \"John Doe\",\r\n    \"email\": \"johndoe@gmail.com\",\r\n    \"address\": \"address\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/order-service/api/v1/customer","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","customer"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"01575187-3e6e-4e64-b430-b09d5f76767d"},{"name":"Cancel Order","id":"c6d7c2d9-4982-4d3e-b45f-851ef6a8af6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:5555/order-service/api/v1/order/:orderId/cancel","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order",":orderId","cancel"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"orderId"}]}},"response":[],"_postman_id":"c6d7c2d9-4982-4d3e-b45f-851ef6a8af6e"},{"name":"Deliver Order","id":"093f19ef-342e-45ce-a053-ee988b04be74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:5555/order-service/api/v1/order/:orderId/deliver","description":"<p>Change order status to order delivered.</p>\n","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order",":orderId","deliver"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"orderId"}]}},"response":[],"_postman_id":"093f19ef-342e-45ce-a053-ee988b04be74"},{"name":"Pick Up Order","id":"1d9fbd43-8e49-4723-bfff-fc6a1f32aacf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:5555/order-service/api/v1/order/:orderId/pickup","description":"<p>Change order status to order picked up</p>\n","urlObject":{"protocol":"http","port":"5555","path":["order-service","api","v1","order",":orderId","pickup"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"f18f4985-2245-41c7-8d4e-fc2a3ad52a07","key":"orderId"}]}},"response":[],"_postman_id":"1d9fbd43-8e49-4723-bfff-fc6a1f32aacf"}],"id":"99f49073-0f00-4595-a0ff-5f73146f9139","_postman_id":"99f49073-0f00-4595-a0ff-5f73146f9139","description":""},{"name":"Cart","item":[{"name":"Get Cart","id":"1db4043f-5973-4e8c-a7fc-9cfa312fb6d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/cart-service/api/v1/cart","urlObject":{"protocol":"http","port":"5555","path":["cart-service","api","v1","cart"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1db4043f-5973-4e8c-a7fc-9cfa312fb6d7"},{"name":"Add Item To Cart","id":"a2a4ab1e-5795-4225-89fc-04ec8a7cd6f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"productId\": \"43ac72fb-e595-46a9-9c81-c5fc24944d0d\",\n\t\"productCode\":\"c2\",\n\t\"productName\":\"n1\",\n\t\"price\": 150,\n\t\"quantity\": 10,\n\t\"subtotal\": 1500\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/cart-service/api/v1/cart/43ac72fb-e595-46a9-9c81-c5fc24944d0d","urlObject":{"protocol":"http","port":"5555","path":["cart-service","api","v1","cart","43ac72fb-e595-46a9-9c81-c5fc24944d0d"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2a4ab1e-5795-4225-89fc-04ec8a7cd6f0"},{"name":"Update Item Quantity In Cart","id":"b3390a3c-d078-4ce8-bb76-e5e82824c402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/cart-service/api/v1/cart/:productId?quantity=","description":"<p>Update item quantity in cart. Set query param \"quantity\" and path variable \"productId\"</p>\n","urlObject":{"protocol":"http","port":"5555","path":["cart-service","api","v1","cart",":productId"],"host":["localhost"],"query":[{"key":"quantity","value":""}],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"b3390a3c-d078-4ce8-bb76-e5e82824c402"},{"name":"Delete Item From Cart","id":"7a90a93b-6228-4e63-a275-061af26b889d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/cart-service/api/v1/cart/:productId","urlObject":{"protocol":"http","port":"5555","path":["cart-service","api","v1","cart",":productId"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"productId"}]}},"response":[],"_postman_id":"7a90a93b-6228-4e63-a275-061af26b889d"},{"name":"Delete Cart","id":"944609ac-768d-466c-9d1f-88fe50d5fbc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/cart-service/api/v1/cart","urlObject":{"protocol":"http","port":"5555","path":["cart-service","api","v1","cart"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"944609ac-768d-466c-9d1f-88fe50d5fbc3"}],"id":"67f3d8c6-8f95-47b6-9169-69f6d9cbd296","_postman_id":"67f3d8c6-8f95-47b6-9169-69f6d9cbd296","description":""}]}