{"info":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","description":"<html><head></head><body><p>iCommerce API documentation</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1885209","collectionId":"3eb34cef-55f1-4695-b1e3-4808469da47c","publishedId":"Tzm3nxGk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-06T07:45:17.000Z"},"item":[{"name":"Product","id":"1bdb6f0d-bd16-49c2-85f7-6201842cf6c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products","description":"<p>Get all products</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"3ce2403c-2d32-4de2-8b78-351e22426765","name":"Product","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 07:58:32 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1200\n    },\n    {\n        \"id\": 2,\n        \"name\": \"ipad\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1500\n    },\n    {\n        \"id\": 3,\n        \"name\": \"ipod\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 999\n    },\n    {\n        \"id\": 4,\n        \"name\": \"imac\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 2000\n    },\n    {\n        \"id\": 5,\n        \"name\": \"galaxy tab\",\n        \"brand\": \"samsung\",\n        \"color\": \"white\",\n        \"price\": 700\n    },\n    {\n        \"id\": 6,\n        \"name\": \"galaxy s10\",\n        \"brand\": \"samsung\",\n        \"color\": \"black\",\n        \"price\": 500\n    },\n    {\n        \"id\": 7,\n        \"name\": \"galaxy s20\",\n        \"brand\": \"samsung\",\n        \"color\": \"black\",\n        \"price\": 600\n    },\n    {\n        \"id\": 8,\n        \"name\": \"cerato\",\n        \"brand\": \"kia\",\n        \"color\": \"black\",\n        \"price\": 400000\n    },\n    {\n        \"id\": 9,\n        \"name\": \"optima\",\n        \"brand\": \"kia\",\n        \"color\": \"white\",\n        \"price\": 500000\n    }\n]"}],"_postman_id":"1bdb6f0d-bd16-49c2-85f7-6201842cf6c8"},{"name":"Products by name","id":"3ef8e354-4c81-4bef-b7d6-20600ce382ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products?name=iphone","description":"<p>Get all products with name</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[{"key":"name","value":"iphone"}],"variable":[]}},"response":[{"id":"c294a6c0-3420-41b8-ac74-54aec5dc14e6","name":"Products by name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/products?name=iphone","host":["http://localhost:8080"],"path":["products"],"query":[{"key":"name","value":"iphone"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 07:59:54 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1200\n    }\n]"}],"_postman_id":"3ef8e354-4c81-4bef-b7d6-20600ce382ac"},{"name":"Products by brand and price","id":"43fb89b4-5ba7-4190-ba61-ac71e08bf628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products?brand=apple&price=999","description":"<p>Get all products with brand and price</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"999"}],"variable":[]}},"response":[{"id":"f3aaa541-c695-4479-86ee-2447ba845137","name":"Products by brand and price","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/products?brand=apple&price=999","host":["http://localhost:8080"],"path":["products"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"999"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:00:19 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"name\": \"ipod\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 999\n    }\n]"}],"_postman_id":"43fb89b4-5ba7-4190-ba61-ac71e08bf628"},{"name":"Products by brand and price range","id":"e17d9601-3a78-4cb3-9c5d-e63637c22655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products?brand=apple&price=0&price=8000","description":"<p>Get all products with brand and price range (use 2 request params with name price)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"0"},{"key":"price","value":"8000"}],"variable":[]}},"response":[{"id":"0e99a38d-6633-4f3e-a335-39bd50ad5bd9","name":"Products by brand and price range","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/products?brand=apple&price=0&price=8000","host":["http://localhost:8080"],"path":["products"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"0"},{"key":"price","value":"8000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 07:53:10 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1200\n    },\n    {\n        \"id\": 2,\n        \"name\": \"ipad\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1500\n    },\n    {\n        \"id\": 3,\n        \"name\": \"ipod\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 999\n    },\n    {\n        \"id\": 4,\n        \"name\": \"imac\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 2000\n    }\n]"}],"_postman_id":"e17d9601-3a78-4cb3-9c5d-e63637c22655"},{"name":"Products by brand and price range then sort by name asc and price desc","id":"c39b7962-cc3c-48b5-a0a8-36750c5580be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products?brand=apple&price=0&price=8000&sort=name,asc&sort=price,desc","description":"<p>Get all products with brand and price range, then sort by name asc and price desc (support multiple filtering and multiple sorting query)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"0"},{"key":"price","value":"8000"},{"key":"sort","value":"name,asc"},{"key":"sort","value":"price,desc"}],"variable":[]}},"response":[{"id":"cd19dbbe-8a02-45fb-a7ee-47dda7f9496d","name":"Products by brand and price range then sort by name asc and price desc","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/products?brand=apple&price=0&price=8000&sort=name,asc&sort=price,desc","host":["http://localhost:8080"],"path":["products"],"query":[{"key":"brand","value":"apple"},{"key":"price","value":"0"},{"key":"price","value":"8000"},{"key":"sort","value":"name,asc"},{"key":"sort","value":"price,desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:00:43 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"name\": \"imac\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 2000\n    },\n    {\n        \"id\": 2,\n        \"name\": \"ipad\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1500\n    },\n    {\n        \"id\": 1,\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1200\n    },\n    {\n        \"id\": 3,\n        \"name\": \"ipod\",\n        \"brand\": \"apple\",\n        \"color\": \"white\",\n        \"price\": 999\n    }\n]"}],"_postman_id":"c39b7962-cc3c-48b5-a0a8-36750c5580be"},{"name":"Product detail","id":"e9b7da5e-d3ad-480c-9b5c-accccf7a433e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/products/:id","description":"<p>Get product detail by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["http://localhost:8080"],"query":[],"variable":[{"id":"a341fdf4-1831-48a0-8d44-9594519f9393","type":"string","value":"9","key":"id"}]}},"response":[{"id":"a23b8218-d8f9-4663-be7e-f097ac9fb96a","name":"Product detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/products/:id","host":["http://localhost:8080"],"path":["products",":id"],"variable":[{"key":"id","value":"9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 07:47:22 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 9,\n    \"name\": \"optima\",\n    \"brand\": \"kia\",\n    \"color\": \"white\",\n    \"price\": 500000\n}"}],"_postman_id":"e9b7da5e-d3ad-480c-9b5c-accccf7a433e"},{"name":"Product","id":"cd666949-09ed-4852-b370-53f4bc18abf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"everest\",\n\t\"brand\":\"ford\",\n\t\"color\":\"white\",\n\t\"price\": 99999\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/products","description":"<p>Add new product</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["products"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"ce64614c-67b5-428c-bde4-08b977030617","name":"Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"everest\",\n\t\"brand\":\"ford\",\n\t\"color\":\"white\",\n\t\"price\": 99999\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:01:20 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"name\": \"everest\",\n    \"brand\": \"ford\",\n    \"color\": \"white\",\n    \"price\": 99999\n}"}],"_postman_id":"cd666949-09ed-4852-b370-53f4bc18abf5"},{"name":"Product","id":"821d639d-7e3c-4748-8060-f000b8f5360a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Username","value":"neoke","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1219.00\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/products/:id","description":"<p>Update an existing product by id</p>\n","urlObject":{"path":["products",":id"],"host":["http://localhost:8080"],"query":[],"variable":[{"id":"f339497d-1f28-4555-9bd1-46ac5fdca3e7","type":"string","value":"","key":"id"}]}},"response":[{"id":"8502f5c9-8ba0-4635-bbab-fa89d92936dc","name":"Product","originalRequest":{"method":"PUT","header":[{"key":"Username","value":"neoke","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"iphone\",\n        \"brand\": \"apple\",\n        \"color\": \"black\",\n        \"price\": 1219.00\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8083/products/:id","protocol":"http","host":["localhost"],"port":"8083","path":["products",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Set-Cookie","value":"JSESSIONID=6C49B21B357468D695793E2283879501; Path=/; HttpOnly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 05 Jul 2020 08:01:50 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"iphone\",\n    \"brand\": \"apple\",\n    \"color\": \"black\",\n    \"price\": 1219\n}"}],"_postman_id":"821d639d-7e3c-4748-8060-f000b8f5360a"},{"name":"Customer Activities","id":"f76c64a0-6bcc-4de9-9e31-c3460951821d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/customer-activities/","description":"<p>Get all customer activities (filtering, sorting, viewing product detail)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["customer-activities",""],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"6d54c733-e630-4e1c-9167-d25e1c796beb","name":"Customer Activities","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/customer-activities/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Date","value":"Sun, 05 Jul 2020 08:02:31 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/hal+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_embedded\": {\n        \"customer-activities\": [\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-02T23:58:29.075\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"name,desc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5efe1235a1669a2587584abf\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5efe1235a1669a2587584abf\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T07:12:33.209\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [],\n                    \"brand\": []\n                },\n                \"sortBy\": [\n                    \"name,desc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5efe77f34522c16052a29caa\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5efe77f34522c16052a29caa\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T15:41:55.436\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\",\n                        \"9000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"color,asc\",\n                    \"price,asc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d18\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d18\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T16:05:22.437\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\",\n                        \"9000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"color,asc\",\n                    \"price,asc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d19\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d19\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T16:05:43.787\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\",\n                        \"9000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"color,asc\",\n                    \"price,asc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d1a\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca5c3db5169d64e3d1a\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T16:06:00.462\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\",\n                        \"9000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"color,asc\",\n                    \"price,asc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1b\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1b\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-03T16:27:46.489\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"1000\",\n                        \"9000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"color,asc\",\n                    \"price,asc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1c\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1c\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:12:06.26\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1d\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca6c3db5169d64e3d1d\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:30:47.378\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d1e\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d1e\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:31:18.623\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d1f\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d1f\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:36:32.283\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d20\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d20\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:56:13.805\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d21\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca7c3db5169d64e3d21\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:56:28.017\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca8c3db5169d64e3d22\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007ca8c3db5169d64e3d22\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T19:58:07.032\",\n                \"viewProductId\": null,\n                \"filterBy\": {},\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007cdfc3db5169d64e3d23\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007cdfc3db5169d64e3d23\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:07:30.998\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f15c3db5169d64e3d24\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f15c3db5169d64e3d24\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:07:57.237\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"color\": [\n                        \"black\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f2dc3db5169d64e3d25\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f2dc3db5169d64e3d25\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:08:20.371\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"color\": [\n                        \"black\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"name,desc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f44c3db5169d64e3d26\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f44c3db5169d64e3d26\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:08:39.096\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"color\": [\n                        \"black\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"name,desc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f57c3db5169d64e3d27\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f007f57c3db5169d64e3d27\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:42:18.205\",\n                \"viewProductId\": \"1\",\n                \"filterBy\": null,\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f00873d30f73a0e294d59a8\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f00873d30f73a0e294d59a8\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:50:46.814\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"999\",\n                        \"200\"\n                    ],\n                    \"name\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f00893730f73a0e294d59a9\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f00893730f73a0e294d59a9\"\n                    }\n                }\n            }\n        ]\n    },\n    \"_links\": {\n        \"first\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities/?page=0&size=20\"\n        },\n        \"self\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities/\"\n        },\n        \"next\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities/?page=1&size=20\"\n        },\n        \"last\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities/?page=1&size=20\"\n        },\n        \"profile\": {\n            \"href\": \"http://192.168.2.173:8081/profile/customer-activities\"\n        }\n    },\n    \"page\": {\n        \"size\": 20,\n        \"totalElements\": 34,\n        \"totalPages\": 2,\n        \"number\": 0\n    }\n}"}],"_postman_id":"f76c64a0-6bcc-4de9-9e31-c3460951821d"},{"name":"5 Recently Customer Activities","id":"6e5345ab-73c1-48f3-bd03-2abc2a7af8ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/customer-activities?size=5&sort=actionOn,desc","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["customer-activities"],"host":["http://localhost:8080"],"query":[{"key":"size","value":"5"},{"key":"sort","value":"actionOn,desc"}],"variable":[]}},"response":[{"id":"8778f2b2-adfd-4bb1-8046-317bffd5d0b3","name":"5 Recently Customer Activities","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/customer-activities?size=5&sort=actionOn,desc","host":["http://localhost:8080"],"path":["customer-activities"],"query":[{"key":"size","value":"5"},{"key":"sort","value":"actionOn,desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Date","value":"Sun, 05 Jul 2020 07:54:01 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/hal+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_embedded\": {\n        \"customer-activities\": [\n            {\n                \"username\": \"captain@avengers.com\",\n                \"actionOn\": \"2020-07-05T14:53:10.548\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"0\",\n                        \"8000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f0186e96150ea3ebdb98afc\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f0186e96150ea3ebdb98afc\"\n                    }\n                }\n            },\n            {\n                \"username\": \"captain@avengers.com\",\n                \"actionOn\": \"2020-07-05T14:47:22.512\",\n                \"viewProductId\": \"9\",\n                \"filterBy\": null,\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f01858d6150ea3ebdb98afb\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f01858d6150ea3ebdb98afb\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-05T13:36:45.535\",\n                \"viewProductId\": \"1\",\n                \"filterBy\": null,\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f01750030f73a0e294d59b0\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f01750030f73a0e294d59b0\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:54:11.257\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"0\",\n                        \"8000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": [\n                    \"name,asc\",\n                    \"price,desc\"\n                ],\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f008a0330f73a0e294d59af\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f008a0330f73a0e294d59af\"\n                    }\n                }\n            },\n            {\n                \"username\": \"username\",\n                \"actionOn\": \"2020-07-04T20:52:59.814\",\n                \"viewProductId\": null,\n                \"filterBy\": {\n                    \"price\": [\n                        \"0\",\n                        \"8000\"\n                    ],\n                    \"brand\": [\n                        \"apple\"\n                    ]\n                },\n                \"sortBy\": null,\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f0089bc30f73a0e294d59ae\"\n                    },\n                    \"customerActivity\": {\n                        \"href\": \"http://192.168.2.173:8081/customer-activities/5f0089bc30f73a0e294d59ae\"\n                    }\n                }\n            }\n        ]\n    },\n    \"_links\": {\n        \"first\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities?page=0&size=5&sort=actionOn,desc\"\n        },\n        \"self\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities?size=5&sort=actionOn%2Cdesc\"\n        },\n        \"next\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities?page=1&size=5&sort=actionOn,desc\"\n        },\n        \"last\": {\n            \"href\": \"http://192.168.2.173:8081/customer-activities?page=5&size=5&sort=actionOn,desc\"\n        },\n        \"profile\": {\n            \"href\": \"http://192.168.2.173:8081/profile/customer-activities\"\n        }\n    },\n    \"page\": {\n        \"size\": 5,\n        \"totalElements\": 29,\n        \"totalPages\": 6,\n        \"number\": 0\n    }\n}"}],"_postman_id":"6e5345ab-73c1-48f3-bd03-2abc2a7af8ea"},{"name":"Shopping Carts","id":"977187fb-871b-4299-8ffd-740387c17da8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/carts","description":"<p>Get all shopping carts of all customers (for development purpose only, not use in production)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["carts"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"a29c503e-9b5d-4583-914a-d5590c081d26","name":"Shopping Carts","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/carts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:02:53 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"customer\": \"abc\",\n        \"personalShoppingCart\": {\n            \"cart\": [\n                {\n                    \"product\": {\n                        \"id\": 1,\n                        \"name\": \"iphone\",\n                        \"brand\": \"apple\",\n                        \"color\": \"iphone\",\n                        \"price\": 0\n                    },\n                    \"quantity\": 9\n                }\n            ]\n        }\n    },\n    {\n        \"customer\": \"captain\",\n        \"personalShoppingCart\": {\n            \"cart\": [\n                {\n                    \"product\": {\n                        \"id\": 1,\n                        \"name\": \"iphone\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 9\n                },\n                {\n                    \"product\": {\n                        \"id\": 2,\n                        \"name\": \"imac\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 9\n                }\n            ]\n        }\n    },\n    {\n        \"customer\": \"zzz\",\n        \"personalShoppingCart\": {\n            \"cart\": [\n                {\n                    \"product\": {\n                        \"id\": 1,\n                        \"name\": \"iphone\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 9\n                },\n                {\n                    \"product\": {\n                        \"id\": 2,\n                        \"name\": \"imac\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 5\n                }\n            ]\n        }\n    },\n    {\n        \"customer\": \"captain@avengers.com\",\n        \"personalShoppingCart\": {\n            \"cart\": [\n                {\n                    \"product\": {\n                        \"id\": 1,\n                        \"name\": \"iphone\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 9\n                },\n                {\n                    \"product\": {\n                        \"id\": 2,\n                        \"name\": \"imac\",\n                        \"brand\": \"apple\",\n                        \"color\": \"red\",\n                        \"price\": 599\n                    },\n                    \"quantity\": 9\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"977187fb-871b-4299-8ffd-740387c17da8"},{"name":"Shopping Cart","id":"2b9178bb-9c65-45ff-b1e9-f9cdaa2c37d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/cart","description":"<p>Get current shopping cart of current logged in user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["cart"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"82ce883c-dff2-4a6e-a47f-1f36c08a00f1","name":"Shopping Cart","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:03:04 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"cart\": [\n        {\n            \"product\": {\n                \"id\": 1,\n                \"name\": \"iphone\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        },\n        {\n            \"product\": {\n                \"id\": 2,\n                \"name\": \"imac\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        }\n    ]\n}"}],"_postman_id":"2b9178bb-9c65-45ff-b1e9-f9cdaa2c37d1"},{"name":"Shopping Cart","id":"980b2816-7f06-48e6-bebd-7c391b6ce5e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cart\": [\n        {\n            \"product\": {\n                \"id\": 1,\n                \"name\": \"iphone\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        },\n        {\n            \"product\": {\n                \"id\": 2,\n                \"name\": \"imac\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/cart","description":"<p>Update current shopping cart of current logged in user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["cart"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"4f8411d0-f3c9-4ee4-a5d4-bc3ab3da6bee","name":"Shopping Cart","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cart\": [\n        {\n            \"product\": {\n                \"id\": 1,\n                \"name\": \"iphone\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        },\n        {\n            \"product\": {\n                \"id\": 2,\n                \"name\": \"imac\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:03:14 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer\": \"captain@avengers.com\",\n    \"personalShoppingCart\": {\n        \"cart\": [\n            {\n                \"product\": {\n                    \"id\": 1,\n                    \"name\": \"iphone\",\n                    \"brand\": \"apple\",\n                    \"color\": \"red\",\n                    \"price\": 599\n                },\n                \"quantity\": 9\n            },\n            {\n                \"product\": {\n                    \"id\": 2,\n                    \"name\": \"imac\",\n                    \"brand\": \"apple\",\n                    \"color\": \"red\",\n                    \"price\": 599\n                },\n                \"quantity\": 9\n            }\n        ]\n    }\n}"}],"_postman_id":"980b2816-7f06-48e6-bebd-7c391b6ce5e8"},{"name":"Shopping Cart","id":"67d4d1e2-5f8e-440d-8584-fdb8a6c5a43e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"cart\": [\n        {\n            \"product\": {\n                \"id\": 1,\n                \"name\": \"iphone\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        },\n        {\n            \"product\": {\n                \"id\": 2,\n                \"name\": \"imac\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/cart","description":"<p>Delete shopping cart of current logged in user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["cart"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"2e50bcf7-9f7e-4d64-a5d7-59381b20824f","name":"Shopping Cart","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"cart\": [\n        {\n            \"product\": {\n                \"id\": 1,\n                \"name\": \"iphone\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        },\n        {\n            \"product\": {\n                \"id\": 2,\n                \"name\": \"imac\",\n                \"brand\": \"apple\",\n                \"color\": \"red\",\n                \"price\": 599\n            },\n            \"quantity\": 9\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/cart"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 05 Jul 2020 08:03:23 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"67d4d1e2-5f8e-440d-8584-fdb8a6c5a43e"},{"name":"Orders","id":"d530ae0e-3469-40d7-a6bc-c2603b6ade75","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"url":"http://localhost:8080/orders","description":"<p>Get all orders</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["orders"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"1e3e355d-f4c5-4ef5-a28f-4e2c8f7087dd","name":"Orders","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Date","value":"Sun, 05 Jul 2020 08:03:34 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/hal+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_embedded\": {\n        \"orders\": [\n            {\n                \"customer\": \"captain\",\n                \"personalShoppingCart\": {\n                    \"cart\": [\n                        {\n                            \"product\": {\n                                \"name\": \"iPhone\",\n                                \"brand\": \"Apple\",\n                                \"color\": \"red\",\n                                \"price\": 599\n                            },\n                            \"quantity\": 2\n                        }\n                    ]\n                },\n                \"shippingAddress\": {\n                    \"city\": \"Can Tho\",\n                    \"street\": \"Nguyen Van Linh\",\n                    \"phone\": \"0909112113\"\n                },\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8082/orders/1\"\n                    },\n                    \"order\": {\n                        \"href\": \"http://192.168.2.173:8082/orders/1\"\n                    }\n                }\n            },\n            {\n                \"customer\": \"neoke\",\n                \"personalShoppingCart\": {\n                    \"cart\": [\n                        {\n                            \"product\": {\n                                \"name\": \"iPhone\",\n                                \"brand\": \"Apple\",\n                                \"color\": \"red\",\n                                \"price\": 599\n                            },\n                            \"quantity\": 2\n                        }\n                    ]\n                },\n                \"shippingAddress\": {\n                    \"city\": \"Can Tho\",\n                    \"street\": \"Nguyen Van Linh\",\n                    \"phone\": \"0909112113\"\n                },\n                \"_links\": {\n                    \"self\": {\n                        \"href\": \"http://192.168.2.173:8082/orders/5f004c05f36106635bdfd372\"\n                    },\n                    \"order\": {\n                        \"href\": \"http://192.168.2.173:8082/orders/5f004c05f36106635bdfd372\"\n                    }\n                }\n            }\n        ]\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"http://192.168.2.173:8082/orders\"\n        },\n        \"profile\": {\n            \"href\": \"http://192.168.2.173:8082/profile/orders\"\n        }\n    },\n    \"page\": {\n        \"size\": 20,\n        \"totalElements\": 2,\n        \"totalPages\": 1,\n        \"number\": 0\n    }\n}"}],"_postman_id":"d530ae0e-3469-40d7-a6bc-c2603b6ade75"},{"name":"Orders","id":"e6e2d5be-551c-4ce9-9d02-f67c5e57a923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"customer\": \"captain\",\n        \"personalShoppingCart\": {\n          \"cart\": [\n            {\n              \"product\": {\n                \"name\": \"iPhone\",\n                \"brand\": \"Apple\",\n                \"color\": \"red\",\n                \"price\": 599\n              },\n              \"quantity\": 2\n            }\n          ]\n        },\n        \"shippingAddress\": {\n          \"city\": \"Can Tho\",\n          \"street\": \"Nguyen Van Linh\",\n          \"phone\": \"0909112113\"\n        }\n      }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/orders","description":"<p>Add a new order</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"3eb34cef-55f1-4695-b1e3-4808469da47c","id":"3eb34cef-55f1-4695-b1e3-4808469da47c","name":"iCommerce","type":"collection"}},"urlObject":{"path":["orders"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"c06a0739-5276-44e2-8c2a-cbb04f498025","name":"Orders","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"customer\": \"captain\",\n        \"personalShoppingCart\": {\n          \"cart\": [\n            {\n              \"product\": {\n                \"name\": \"iPhone\",\n                \"brand\": \"Apple\",\n                \"color\": \"red\",\n                \"price\": 599\n              },\n              \"quantity\": 2\n            }\n          ]\n        },\n        \"shippingAddress\": {\n          \"city\": \"Can Tho\",\n          \"street\": \"Nguyen Van Linh\",\n          \"phone\": \"0909112113\"\n        }\n      }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/orders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Location","value":"http://192.168.2.173:8082/orders/5f0189706f6047656fb836e3"},{"key":"Date","value":"Sun, 05 Jul 2020 08:04:00 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/hal+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer\": \"captain\",\n    \"personalShoppingCart\": {\n        \"cart\": [\n            {\n                \"product\": {\n                    \"name\": \"iPhone\",\n                    \"brand\": \"Apple\",\n                    \"color\": \"red\",\n                    \"price\": 599\n                },\n                \"quantity\": 2\n            }\n        ]\n    },\n    \"shippingAddress\": {\n        \"city\": \"Can Tho\",\n        \"street\": \"Nguyen Van Linh\",\n        \"phone\": \"0909112113\"\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"http://192.168.2.173:8082/orders/5f0189706f6047656fb836e3\"\n        },\n        \"order\": {\n            \"href\": \"http://192.168.2.173:8082/orders/5f0189706f6047656fb836e3\"\n        }\n    }\n}"}],"_postman_id":"e6e2d5be-551c-4ce9-9d02-f67c5e57a923"}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]}},"event":[{"listen":"prerequest","script":{"id":"39254e83-8fe3-4bd6-b00a-a6c6eef3ed98","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"75b89840-991b-496c-9823-58c1c1555399","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://localhost:8080"}]}