{"info":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","description":"<html><head></head><body><p>Api endpoints to interact with the shopping cart backend application</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1425723","collectionId":"5df3db1a-131b-4d01-abd6-fc818313c26b","publishedId":"TVzXBaeT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"08a5db"},"publishDate":"2021-01-18T21:26:25.000Z"},"item":[{"name":"Auth","item":[{"name":"Register","id":"185bb7e1-30a9-408e-94f9-f217ba4486f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"Idiagbor\",\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"shoppingcartpass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/register","description":"<p>create a new user on shopping cart with fields first name, last name, email and password</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["auth","v1","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"38eabc0c-265f-4209-a972-15e3e148adb9","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"Idiagbor\",\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"examplepass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"ETag","value":"W/\"37-roQVMfvwJVnP3Ud+yrB/PMziIHo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 15:01:45 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"User already exists!\"\n}"},{"id":"f7e9d439-7703-4174-8cc6-f67438f79e02","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"Idiagbor\",\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"shoppingcartpass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"45b-z3LNtpo3g2rmCy4AgdYeOhpiw2c\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 16 Jan 2021 15:04:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Signup Successful\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"USR__13pgyi1ge9kjzudil3\",\n            \"firstName\": \"Darrel\",\n            \"lastName\": \"Idiagbor\",\n            \"email\": \"idiagbordarrel@gmail.com\",\n            \"userType\": \"User\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T15:04:41.563Z\",\n            \"createdAt\": \"2021-01-16T15:04:41.560Z\"\n        },\n        \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJVU1JfXzEzcGd5aTFnZTlranp1ZGlsMyIsImlhdCI6MTYxMDgwOTQ4MSwiZXhwIjoxNjEwODk1ODgxfQ.czJQC2A8h5CRncnyGHE0lF3X_MuGw9oVoC97UE-zWPco7Pol3TR8ZMeZMgKZ6eF0QT9BIk1jtjaAdVNtlKvQKUetHb05cYmjTneUOV54CeI-6gvg3lO3R7b1BgDehi2GzfH7PEd53w-wVf7Ed-icwPWzeRDQMEYHWRgqAX9ksZpZWCq8zioPLxL3YmJK8yBRSZVPvIiBLgI0eyLEkyOdkUwn9d4r5sui8DKnCzE_RLjMQF6oECnR3WBZ3ImgURxnUr6lyp3PRWfFQw36oiapKVTkducKiTS-ehq5yLmZw_W05byZg9A0pfswOVVLmT99PA8vc8JGPfP50B_sRcin450_1xOLMF4-mC_m4YecFmKpkpqeYLHz5HpklbDJpXG5OOtGqlnL-ih1wKJwxHcI4uolEzUFUScpYfjkqEtkQrqumHSbJuusnJwhV3cmegYf5hXuHu7a5p2d0LQZKhvue9_7csqxkG20Mxvs171R5dLV1LKryVHCMwdLmSIidEjiChUZBpPlL6wEK7ZHJVhDxczLiF39NO3cqgz0XQQTBztlIpWsO0eH1vQyI5mB8OYXigjXjG1Kjhl2a9kuKNNY0SOvhsaZtbwkkcIjn-OTv__RizFbulESTbExIkBLV8dJeZK0L8Iqa5V8KW_mogNJ4bxC7CHS5ug9ojLC2-HbbyQ\"\n    }\n}"}],"_postman_id":"185bb7e1-30a9-408e-94f9-f217ba4486f2"},{"name":"Login","id":"5988e24f-b734-48e7-89a2-3e8e9f8cd5fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"shoppingcartpass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/login","description":"<p>login on shopping cart with fields email and password</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["auth","v1","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4d8c7136-0859-4243-8c0b-b3a3e4530104","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"shoppingcartpass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"45a-q9WJkn1s2qDluE8ZLXdxj5eilgw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 16 Jan 2021 15:01:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Login Successful\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"USR__13pgyi1dngkjzpcxcj\",\n            \"firstName\": \"Darrel\",\n            \"lastName\": \"Idiagbor\",\n            \"email\": \"idiagbordarrel@gmail.com\",\n            \"userType\": \"User\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T12:44:15.957Z\",\n            \"createdAt\": \"2021-01-16T12:44:15.956Z\"\n        },\n        \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJVU1JfXzEzcGd5aTFkbmdranpwY3hjaiIsImlhdCI6MTYxMDgwOTMxMCwiZXhwIjoxNjEwODk1NzEwfQ.IBRJWX2MBuMjHN9SEHWl_lHUFOkpqgdOzBpVJwXrftdXV477OEVjGYqTl1Es2fguNP3LfvbufBZrZ2hcFKYs1ZYjLj4S9YGatIImswfZp-QWpr5ri9gJQ2A9YWvs_Ka7T2w6yS_qNglw8UPvfjDKF0yO-a7uNMF7uAlIKEN5ySR9WyD_Ve6Uf0ajgMu_9DSsiAkjP-k2duK99ykBtwXNiE3F3Y-7tEUtF1RvmgF8wultn7kXV0V4szkluoDv5gJCLHtbXn9HT8NRmMj1LLIDwm8RBJUE7_PtjFeVk6cuKXZYb4HYzBgTJ9soAoAyUOywDO5IF4-XqEBnUQBhGy9v_1MSrqu_n-BSnxt_vrrpqhl_nxK3K_4pLkEoidtbt_qjdpMR-BR4iaV_EWGJuDktQPNlXPDt7OWd9bdTPN8QLGgjIfzE0qnPPS3i0kjtEa_XL5en8Sk7N-UekEOmhTuqTxH-IFhGJT0DkHguFP32EQ_I7oK1AHp_DcLhSCxfXHGsDJw6F8SXjVHyxaoq1QxZiG7JcxX34fhC1KAgbuvktnP2kGBg_qMAuBn8eNv0LRjdbPo_b_Ch6guuGRRwcCBIKEJQdtdtXiJnFCBBD7O71B6-DZFmOa3Uy8QyFmYFIjFiJHEY6nfhoMPT0LcFv1nn0G9g-6MuL9xJerNkVa5FZfo\"\n    }\n}"},{"id":"ca9eeab9-f228-4385-9aec-8f2cac4a26bd","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"idiagbordarrel@gmail.com\",\n    \"password\": \"shoppingcartpass\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/v1/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-vRTz3QGUSwo08tYC7FNVNOPa1wI\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 15:08:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Authentication Failure!\"\n}"}],"_postman_id":"5988e24f-b734-48e7-89a2-3e8e9f8cd5fb"}],"id":"eecc319f-ada1-419a-a831-713deb185071","description":"<p>All authentication related endpoints on the shopping cart application</p>\n","event":[{"listen":"prerequest","script":{"id":"df927023-c84f-4a2c-a28e-e480f1943133","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9cca335a-8b69-46ed-876e-7ccd958f7165","type":"text/javascript","exec":[""]}}],"_postman_id":"eecc319f-ada1-419a-a831-713deb185071","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}},{"name":"Admin","item":[{"name":"Profiles","id":"9d5c9e99-5b6a-4c6b-a0f3-90df891a26a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/admin/v1/profiles?where&take=&skip=&orderBy","description":"<p>retrieve the profiles of all users on shopping cart\napplication with offset based pagination capabilities</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["admin","v1","profiles"],"host":["{{base_url}}"],"query":[{"key":"where","value":null},{"key":"take","value":""},{"key":"skip","value":""},{"key":"orderBy","value":null}],"variable":[]}},"response":[{"id":"0000e5ce-58f8-4f2d-b875-5b05840d2e7c","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/admin/v1/profiles?where&take=&skip=&orderBy","host":["{{base_url}}"],"path":["admin","v1","profiles"],"query":[{"key":"where","value":null},{"key":"take","value":""},{"key":"skip","value":""},{"key":"orderBy","value":null}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-IO1GkBZcN4JTjF5R46dWEXEcx7E\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 17:10:15 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Permission Denied\"\n}"},{"id":"3e3d8f27-a5c4-462a-9012-8cb1f49403ea","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/admin/v1/profiles?where&take=&skip=&orderBy","host":["{{base_url}}"],"path":["admin","v1","profiles"],"query":[{"key":"where","value":null},{"key":"take","value":""},{"key":"skip","value":""},{"key":"orderBy","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"316"},{"key":"ETag","value":"W/\"13c-Rp9JC/6W8NCiF2/JzzrrsQhjnOo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 17:09:06 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Profiles Retrieved\",\n    \"data\": {\n        \"totalResource\": 1,\n        \"users\": [\n            {\n                \"id\": \"USR__13pgyi1ge9kjzudil3\",\n                \"firstName\": \"Darrel\",\n                \"lastName\": \"Idiagbor\",\n                \"email\": \"idiagbordarrel@gmail.com\",\n                \"userType\": \"Admin\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T15:04:41.563Z\",\n                \"createdAt\": \"2021-01-16T15:04:41.560Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9d5c9e99-5b6a-4c6b-a0f3-90df891a26a5"},{"name":"Modify Profile","id":"0039e6d4-e0ea-400b-878d-7c27845d2a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"idiagbor\",\n    \"statud\": \"Admin\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/admin/v1/profiles/:id","description":"<p>modify a profile data on shopping cart using user id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["admin","v1","profiles",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"USR__13pgyi1ge9kjzudil3","key":"id"}]}},"response":[{"id":"ab079588-cbcc-46c3-9c54-f283d7b89df4","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"idiagbor\",\n    \"statud\": \"Admin\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/admin/v1/profiles/:id","host":["{{base_url}}"],"path":["admin","v1","profiles",":id"],"variable":[{"key":"id","value":"USR__13pgyi1ge9kjzudil3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"329"},{"key":"ETag","value":"W/\"149-vvgcOebCu1gxqx6/S4hmpbS59f8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:35:01 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Profile USR__13pgyi1ge9kjzudil3 Successfully Updated\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"USR__13pgyi1ge9kjzudil3\",\n            \"firstName\": \"Darrel\",\n            \"lastName\": \"idiagbor\",\n            \"email\": \"idiagbordarrel@gmail.com\",\n            \"userType\": \"Admin\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T22:35:01.986Z\",\n            \"createdAt\": \"2021-01-16T15:04:41.560Z\"\n        }\n    }\n}"},{"id":"f1c6cfa5-6708-4a3a-a128-dda62d58bfd5","name":"Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrell\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/admin/v1/profiles/5667"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"95"},{"key":"ETag","value":"W/\"5f-eIaTwxlNvVSr9/jCU8zijntTtk8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 17:54:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"User with id 5667 not found!\",\n    \"url\": \"/admin/v1/profiles/5667\"\n}"}],"_postman_id":"0039e6d4-e0ea-400b-878d-7c27845d2a34"}],"id":"3fa9a58e-b291-47f9-8ac4-a3bf96588511","description":"<p>All admin related enpoints on the shopping cart application</p>\n","event":[{"listen":"prerequest","script":{"id":"565b54f7-74dc-42d4-9fcb-295ffb409bdf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"25aedb11-1533-461c-b958-6d2e2a77da82","type":"text/javascript","exec":[""]}}],"_postman_id":"3fa9a58e-b291-47f9-8ac4-a3bf96588511","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}},{"name":"User","item":[{"name":"Profile","id":"50c70cb9-cc62-4581-91c7-3980c8b8002d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/user/v1/profile","description":"<p>retrieve your profile data on shopping cart</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["user","v1","profile"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"56028855-ad40-401c-9224-476d8149f121","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text","disabled":true}],"url":"{{base_url}}/user/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"293"},{"key":"ETag","value":"W/\"125-Kmw+Y5MH5rKgl/7IA3wiiBS4M5E\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 15:51:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Profile Retrieved\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"USR__13pgyi1ge9kjzudil3\",\n            \"firstName\": \"Darrel\",\n            \"lastName\": \"Idiagbor\",\n            \"email\": \"idiagbordarrel@gmail.com\",\n            \"userType\": \"User\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T15:04:41.563Z\",\n            \"createdAt\": \"2021-01-16T15:04:41.560Z\"\n        }\n    }\n}"}],"_postman_id":"50c70cb9-cc62-4581-91c7-3980c8b8002d"},{"name":"Modify Profile","id":"88b870c9-0921-4a18-bbe0-5107a655c288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"Idiagbor\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/user/v1/profile","description":"<p>modify your profile data on shopping cart</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["user","v1","profile"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"188ad8a9-9388-4290-912c-fa9d59d5c311","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Darrel\",\n    \"lastName\": \"Idiagbor\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/user/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"305"},{"key":"ETag","value":"W/\"131-eVkxKX6tjJ7KNHClbnS+OnHQoN4\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:35:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Profile Successfully Updated\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"USR__13pgyi1ge9kjzudil3\",\n            \"firstName\": \"Darrel\",\n            \"lastName\": \"Idiagbor\",\n            \"email\": \"idiagbordarrel@gmail.com\",\n            \"userType\": \"Admin\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T22:35:35.177Z\",\n            \"createdAt\": \"2021-01-16T15:04:41.560Z\"\n        }\n    }\n}"}],"_postman_id":"88b870c9-0921-4a18-bbe0-5107a655c288"}],"id":"8da38a53-3cfc-4fa3-a513-08511b6e09c0","description":"<p>All user related enpoints on the shopping cart application</p>\n","event":[{"listen":"prerequest","script":{"id":"237a7640-1210-4e1e-a713-9864d81aa121","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0f58f8ab-5023-4d86-91c2-5c76d9f1efcd","type":"text/javascript","exec":[""]}}],"_postman_id":"8da38a53-3cfc-4fa3-a513-08511b6e09c0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}},{"name":"Category","item":[{"name":"Create","id":"a84c5805-5fa4-454e-b282-20cfac6f4cf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"phones\",\n    \"description\": \"This is a simple category containing all phones\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/category/v1/create","description":"<p>create a new category on shopping cart with a name and description</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["category","v1","create"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"45fa2853-eaa2-4bd2-9172-b5fb8ed72c61","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"phones\",\n    \"description\": \"This is a simple category containing all phones\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/category/v1/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"293"},{"key":"ETag","value":"W/\"125-0oiT0n1/rTIXNt0EwANcwL4bLGs\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 20:44:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Category Successfully Created\",\n    \"data\": {\n        \"category\": {\n            \"id\": \"CAT__13pgyi1snakk06j1fv\",\n            \"name\": \"phones\",\n            \"description\": \"This is a simple category containing all phones\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T20:44:54.743Z\",\n            \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n        }\n    }\n}"},{"id":"f379b18a-4392-4374-8081-3d656d95b092","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":"{{base_url}}/category/v1/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"252"},{"key":"ETag","value":"W/\"fc-sLgOjPXC7lK/WE1AeuY/MuCpPmA\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 20:42:31 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Validation Failed\",\n    \"data\": {\n        \"errors\": [\n            {\n                \"msg\": \"please fill in the name of this category\",\n                \"param\": \"name\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"please give some description to your category\",\n                \"param\": \"description\",\n                \"location\": \"body\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a84c5805-5fa4-454e-b282-20cfac6f4cf7"},{"name":"Categories","id":"647e35b5-9a77-476e-9933-c40d99778f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/category/v1/categories?where&take=&skip&orderBy","description":"<p>retrieve all categories on the shopping cart\napplication with offset based pagination capabilities.\nDoes not require authentication</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["category","v1","categories"],"host":["{{base_url}}"],"query":[{"key":"where","value":null},{"key":"take","value":""},{"key":"skip","value":null},{"key":"orderBy","value":null}],"variable":[]}},"response":[{"id":"19944770-70f4-4679-b5b9-c842eddfb3c2","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/category/v1/categories?where&take=101&skip&orderBy","host":["{{base_url}}"],"path":["category","v1","categories"],"query":[{"key":"where","value":null},{"key":"take","value":"101"},{"key":"skip","value":null},{"key":"orderBy","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-UAnPP8yY/uX0gN8y7jPTxvQcS7U\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 20:55:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Maximum count of 100 reached! \"\n}"},{"id":"399f7cea-9252-4eb0-a5b7-bbd4b9b6b4d6","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/category/v1/categories?where&take&skip&orderBy","host":["{{base_url}}"],"path":["category","v1","categories"],"query":[{"key":"where","value":null},{"key":"take","value":null},{"key":"skip","value":null},{"key":"orderBy","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"300"},{"key":"ETag","value":"W/\"12c-ca5/alvot0kz88j5gJDefb535wY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 20:53:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Categories Retrieved\",\n    \"data\": {\n        \"totalResource\": 1,\n        \"data\": [\n            {\n                \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                \"name\": \"phones\",\n                \"description\": \"This is a simple category containing all phones\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T20:44:54.743Z\",\n                \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"647e35b5-9a77-476e-9933-c40d99778f66"},{"name":"Modify Category","id":"6bf766a1-9c80-4237-9a8a-9580546ea3ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"phones\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/category/v1/category/:id","description":"<p>modify a category data on shopping cart using category id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["category","v1","category",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"CAT__13pgyi1snakk06j1fv","key":"id"}]}},"response":[{"id":"336406f2-1687-4ecf-9716-70074a21a0f1","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"phones\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/category/v1/category/:id","host":["{{base_url}}"],"path":["category","v1","category",":id"],"variable":[{"key":"id","value":"CAT__13pgyi1snakk06j1fv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"317"},{"key":"ETag","value":"W/\"13d-NKi++CEwUiBNaXWnWofFZ/lSfuY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:33:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Category CAT__13pgyi1snakk06j1fv Successfully Updated\",\n    \"data\": {\n        \"category\": {\n            \"id\": \"CAT__13pgyi1snakk06j1fv\",\n            \"name\": \"phones\",\n            \"description\": \"This is a simple category containing all phones\",\n            \"status\": \"Active\",\n            \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n            \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n        }\n    }\n}"},{"id":"9a847499-d9c8-4240-b277-cb65b8a98739","name":"Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"phones\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/category/v1/category/idiis"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"104"},{"key":"ETag","value":"W/\"68-vLjVveUdRsiCIHQZX7QTXNk1Eqw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 21:02:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Category with id idiis not found!\",\n    \"url\": \"/category/v1/category/idiis\"\n}"}],"_postman_id":"6bf766a1-9c80-4237-9a8a-9580546ea3ed"}],"id":"9406a451-4960-496f-956f-254f73a22385","description":"<p>All category related endpoints on the shopping cart application.\nEndpoints under category on return a maximum of 5 products linked under them.\nIf you need to see all products for this category, please use the GET products endpoint and filter using where.</p>\n","event":[{"listen":"prerequest","script":{"id":"d8f1e74e-c73c-4ef3-b1d8-d254f8d2d55e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d582a591-034c-49d5-96e5-df3c4c696184","type":"text/javascript","exec":[""]}}],"_postman_id":"9406a451-4960-496f-956f-254f73a22385","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}},{"name":"Product","item":[{"name":"Create","id":"d1f9c1ae-3592-4fa5-9c60-1e6e9ccf452b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Iphone xs\",\n    \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n    \"unitPrice\": 320000,\n    \"reorderLevel\": 5,\n    \"stockLevel\": 56,\n    \"categoryId\": \"CAT__13pgyi1snakk06j1fv\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/product/v1/create","description":"<p>create a new product on shopping cart with compulsory fields like name, description, unit price etc..\nYou can link a category when creating this product by\nadding categoryId to the body parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["product","v1","create"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"49e4ca7e-d593-4fad-9e8b-b0e9cf91b1bf","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":"{{base_url}}/product/v1/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"792"},{"key":"ETag","value":"W/\"318-j7UyYlyWQmkd7e2/7kmLvlTTekE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:15:31 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Validation Failed\",\n    \"data\": {\n        \"errors\": [\n            {\n                \"msg\": \"please fill in the name of this product\",\n                \"param\": \"name\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"please give some description to your product\",\n                \"param\": \"description\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"Invalid value\",\n                \"param\": \"unitPrice\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"Invalid value\",\n                \"param\": \"unitPrice\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"please specify the unit price of your product\",\n                \"param\": \"unitPrice\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"Invalid value\",\n                \"param\": \"reorderLevel\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"please specify the reorder level of your product\",\n                \"param\": \"reorderLevel\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"Invalid value\",\n                \"param\": \"stockLevel\",\n                \"location\": \"body\"\n            },\n            {\n                \"msg\": \"please specify the stock level of your product\",\n                \"param\": \"stockLevel\",\n                \"location\": \"body\"\n            }\n        ]\n    }\n}"},{"id":"86c6e343-007a-4175-8734-5f107a11f112","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Iphone xs\",\n    \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n    \"unitPrice\": 320000,\n    \"reorderLevel\": 5,\n    \"stockLevel\": 56,\n    \"categoryId\": \"CAT__13pgyi1snakk06j1fv\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/product/v1/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"688"},{"key":"ETag","value":"W/\"2b0-I9st+MAYyOd9abysfIBGlaTp+P4\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:43:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Product Successfully Created\",\n    \"data\": {\n        \"product\": {\n            \"id\": \"PRDCT__13pgyi1z6hkk0arcsu\",\n            \"name\": \"Iphone xs\",\n            \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n            \"sku\": \"P-yo*15d0-13pgyi1z6hkk0arcsv\",\n            \"unitPrice\": 320000,\n            \"expiration\": null,\n            \"size\": null,\n            \"color\": null,\n            \"type\": null,\n            \"stockLevel\": 56,\n            \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n            \"reorderLevel\": 5,\n            \"updatedAt\": \"2021-01-16T22:43:21.103Z\",\n            \"createdAt\": \"2021-01-16T22:43:21.103Z\",\n            \"category\": {\n                \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                \"name\": \"phones\",\n                \"description\": \"This is a simple category containing all phones\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n            }\n        }\n    }\n}"}],"_postman_id":"d1f9c1ae-3592-4fa5-9c60-1e6e9ccf452b"},{"name":"Products","id":"af15f9fc-a497-4bf1-bcdc-a81a37500569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/product/v1/products?where&take=&skip&orderBy","description":"<p>retrieve all products on the shopping cart\n application with offset based pagination capabilities.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["product","v1","products"],"host":["{{base_url}}"],"query":[{"key":"where","value":null},{"key":"take","value":""},{"key":"skip","value":null},{"key":"orderBy","value":null}],"variable":[]}},"response":[{"id":"1720da34-001e-476b-a83f-63e204787256","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/product/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"532-+8Dnc8sVL8Rl7YZBUHTG7h3vqFQ\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 16 Jan 2021 22:28:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Products Retrieved\",\n    \"data\": {\n        \"totalResource\": 2,\n        \"data\": [\n            {\n                \"id\": \"PRDCT__13pgyi1xwekk0a0rd7\",\n                \"name\": \"Iphone xs max\",\n                \"description\": \"This is the highest grade of Iphone 11 flagship\",\n                \"sku\": \"P - undefined - 756VKI6 - 13pgyi1xwekk0a0rd8\",\n                \"unitPrice\": 380000,\n                \"expiration\": null,\n                \"size\": null,\n                \"color\": null,\n                \"type\": null,\n                \"stockLevel\": 35,\n                \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n                \"reorderLevel\": 5,\n                \"updatedAt\": \"2021-01-16T22:22:40.310Z\",\n                \"createdAt\": \"2021-01-16T22:22:40.310Z\",\n                \"category\": {\n                    \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                    \"name\": \"phones\",\n                    \"description\": \"This is a simple category containing all phones\",\n                    \"status\": \"Active\",\n                    \"updatedAt\": \"2021-01-16T21:03:45.782Z\",\n                    \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n                }\n            },\n            {\n                \"id\": \"PRDCT__13pgyi1xz1kk0a3sku\",\n                \"name\": \"Iphone xs\",\n                \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n                \"sku\": \"P - undefined - 6n_*7Kr - 13pgyi1xz1kk0a3skv\",\n                \"unitPrice\": 320000,\n                \"expiration\": null,\n                \"size\": null,\n                \"color\": null,\n                \"type\": null,\n                \"stockLevel\": 56,\n                \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n                \"reorderLevel\": 5,\n                \"updatedAt\": \"2021-01-16T22:25:01.847Z\",\n                \"createdAt\": \"2021-01-16T22:25:01.846Z\",\n                \"category\": {\n                    \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                    \"name\": \"phones\",\n                    \"description\": \"This is a simple category containing all phones\",\n                    \"status\": \"Active\",\n                    \"updatedAt\": \"2021-01-16T21:03:45.782Z\",\n                    \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n                }\n            }\n        ]\n    }\n}"},{"id":"362269a3-ad18-499b-bb34-363bd821f68d","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/product/v1/products?where&take=bg&skip&orderBy","host":["{{base_url}}"],"path":["product","v1","products"],"query":[{"key":"where","value":null},{"key":"take","value":"bg"},{"key":"skip","value":null},{"key":"orderBy","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"71"},{"key":"ETag","value":"W/\"47-Y/iUYGboqJJqiF9tWcRIdusrPX8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:39:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Please provide a numeric take value!\"\n}"}],"_postman_id":"af15f9fc-a497-4bf1-bcdc-a81a37500569"},{"name":"Modify Product","id":"b685df74-bd2e-42ab-93ae-2ab7c71c509a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Iphone xs\",\n    \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n    \"unitPrice\": 320000,\n    \"reorderLevel\": 5,\n    \"stockLevel\": 56,\n    \"type\": \"xs\",\n    \"color\": \"Dark green\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/product/v1/product/:id","description":"<p>modify a product data on shopping cart using product id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["product","v1","product",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"PRDCT__13pgyi1z6hkk0arcsu","key":"id"}]}},"response":[{"id":"710d3e53-476c-4d67-838a-171e087667ff","name":"Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Iphone xs\",\n    \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n    \"unitPrice\": 320000,\n    \"reorderLevel\": 5,\n    \"stockLevel\": 56,\n    \"type\": \"xs\",\n    \"color\": \"Dark green\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/product/v1/product/:id","host":["{{base_url}}"],"path":["product","v1","product",":id"],"variable":[{"key":"id","value":"fjkdfkjdk"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"ETag","value":"W/\"6f-/2V8ZI9aeztD4JFP+tXxpja+Ap8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:37:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Product with id *fjkdfkjdk* not found!\",\n    \"url\": \"/product/v1/product/fjkdfkjdk\"\n}"},{"id":"d5d3d664-d1b0-455f-9f30-fb3ff3389f12","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Iphone xs\",\n    \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n    \"unitPrice\": 320000,\n    \"reorderLevel\": 5,\n    \"stockLevel\": 56,\n    \"type\": \"xs\",\n    \"color\": \"Dark green\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/product/v1/product/:id","host":["{{base_url}}"],"path":["product","v1","product",":id"],"variable":[{"key":"id","value":"PRDCT__13pgyi1xz1kk0a3sku"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"739"},{"key":"ETag","value":"W/\"2e3-o08fox8HkLSR3lSynN4fcmdDoQA\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:38:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Product PRDCT__13pgyi1xz1kk0a3sku Successfully Updated\",\n    \"data\": {\n        \"category\": {\n            \"id\": \"PRDCT__13pgyi1xz1kk0a3sku\",\n            \"name\": \"Iphone xs\",\n            \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n            \"sku\": \"P - undefined - 6n_*7Kr - 13pgyi1xz1kk0a3skv\",\n            \"unitPrice\": 320000,\n            \"expiration\": null,\n            \"size\": null,\n            \"color\": \"Dark green\",\n            \"type\": \"xs\",\n            \"stockLevel\": 56,\n            \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n            \"reorderLevel\": 5,\n            \"updatedAt\": \"2021-01-16T22:38:41.908Z\",\n            \"createdAt\": \"2021-01-16T22:25:01.846Z\",\n            \"category\": {\n                \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                \"name\": \"phones\",\n                \"description\": \"This is a simple category containing all phones\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n            }\n        }\n    }\n}"},{"id":"dca851e0-1fad-4555-aa86-45d9dd915e51","name":"Bad Request","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{base_url}}/product/v1/product/:id","host":["{{base_url}}"],"path":["product","v1","product",":id"],"variable":[{"key":"id","value":"fjkdfkjdk"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"66"},{"key":"ETag","value":"W/\"42-OpD73/pS+qgw+8Uc6uftpYA0DaE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:37:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"You cannot modify empty fields!\"\n}"}],"_postman_id":"b685df74-bd2e-42ab-93ae-2ab7c71c509a"},{"name":"Delete Product","id":"311af3dc-0642-4965-ac10-5b1f8e70a7d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/product/v1/product/:id","description":"<p>delete a product data from shopping cart using product id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["product","v1","product",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"PRDCT__13pgyi1z52kk0aqjfh","key":"id"}]}},"response":[{"id":"30d3bd77-c362-4ee7-a255-e52173014f17","name":"Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/product/v1/product/:id","host":["{{base_url}}"],"path":["product","v1","product",":id"],"variable":[{"key":"id","value":"fjkjdjf"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-tv5Cbz2wucb8Y4ko47nwapQK7Ys\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:42:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Product with id *fjkjdjf* not found!\",\n    \"url\": \"/product/v1/product/fjkjdjf\"\n}"},{"id":"86c33bd0-5abd-474e-9c4a-2ed8e58ad22b","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/product/v1/product/:id","host":["{{base_url}}"],"path":["product","v1","product",":id"],"variable":[{"key":"id","value":"PRDCT__13pgyi1xz1kk0a3sku"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"739"},{"key":"ETag","value":"W/\"2e3-01HdysOIILpxMC55qdLq6+oJ5Dk\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 16 Jan 2021 22:42:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Product PRDCT__13pgyi1xz1kk0a3sku Successfully Deleted\",\n    \"data\": {\n        \"category\": {\n            \"id\": \"PRDCT__13pgyi1xz1kk0a3sku\",\n            \"name\": \"Iphone xs\",\n            \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n            \"sku\": \"P - undefined - 6n_*7Kr - 13pgyi1xz1kk0a3skv\",\n            \"unitPrice\": 320000,\n            \"expiration\": null,\n            \"size\": null,\n            \"color\": \"Dark green\",\n            \"type\": \"xs\",\n            \"stockLevel\": 56,\n            \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n            \"reorderLevel\": 5,\n            \"updatedAt\": \"2021-01-16T22:38:41.908Z\",\n            \"createdAt\": \"2021-01-16T22:25:01.846Z\",\n            \"category\": {\n                \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                \"name\": \"phones\",\n                \"description\": \"This is a simple category containing all phones\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n            }\n        }\n    }\n}"}],"_postman_id":"311af3dc-0642-4965-ac10-5b1f8e70a7d3"}],"id":"e0a2e542-ad30-45e4-a95b-b334dc2fe9a3","description":"<p>All product endpoints on the shopping cart application</p>\n","event":[{"listen":"prerequest","script":{"id":"25dc32d0-0052-42c9-9eab-d32ac3cb7418","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"80b9fdbf-2d08-4d9d-9664-dcf1386d6d9b","type":"text/javascript","exec":[""]}}],"_postman_id":"e0a2e542-ad30-45e4-a95b-b334dc2fe9a3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}},{"name":"Cart","item":[{"name":"Add To Cart","id":"847ac23e-0b18-4b52-9836-ca4f83cbed09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"PRDCT__5wsgq1jxakk34a7zc\",\n    \"cartId\": \"CART__cr3lj1fkk34srpu\",\n    \"quantity\":  2\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/cart/v1/addToCart","description":"<p>Add an item to cart by providing the product id and \nthis creates a new cart. Although if a cart already \nexists; add to it by supplying the cart id.\nBy default the quantity is set to 1. \nControl the quantity of an item added to cart by \nsupplying the quantity field.\nAlternatively if product is already in cart, it will automatically increment the quantity by 1.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["cart","v1","addToCart"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"277ee765-3326-467a-a629-b21f38b74f1f","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"PRDCT__13pgyi1xwekk0a0rd7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/cart/v1/addToCart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"802"},{"key":"ETag","value":"W/\"322-irRgo5J2sqYmV+F3gL5PmDBM3J4\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 16:56:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Product Successfully Added To Cart\",\n    \"data\": {\n        \"cart\": {\n            \"id\": \"CART__3od1mv64lkk1dsksw\",\n            \"createdAt\": \"2021-01-17T16:56:03.151Z\",\n            \"products\": [\n                {\n                    \"id\": \"PRDCT__13pgyi1xwekk0a0rd7\",\n                    \"name\": \"Iphone xs max\",\n                    \"description\": \"This is the highest grade of Iphone 11 flagship\",\n                    \"sku\": \"P - undefined - 756VKI6 - 13pgyi1xwekk0a0rd8\",\n                    \"unitPrice\": 380000,\n                    \"expiration\": null,\n                    \"size\": null,\n                    \"color\": null,\n                    \"type\": null,\n                    \"stockLevel\": 35,\n                    \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n                    \"reorderLevel\": 5,\n                    \"updatedAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"createdAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"category\": {\n                        \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                        \"name\": \"phones\",\n                        \"description\": \"This is a simple category containing all phones\",\n                        \"status\": \"Active\",\n                        \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                        \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n                    },\n                    \"quantity\": 1\n                }\n            ]\n        }\n    }\n}"},{"id":"c32b029b-2d78-497a-94c3-e51d23a352d1","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":"{{base_url}}/cart/v1/addToCart"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"190"},{"key":"ETag","value":"W/\"be-O1O7ejH/iVN6p0tUHg3HiAKAsbE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 16:55:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Validation Failed\",\n    \"data\": {\n        \"errors\": [\n            {\n                \"msg\": \"please specify the product id of the product you want to add to cart!\",\n                \"param\": \"productId\",\n                \"location\": \"body\"\n            }\n        ]\n    }\n}"}],"_postman_id":"847ac23e-0b18-4b52-9836-ca4f83cbed09"},{"name":"Retrieve Cart","id":"fa5b6443-b7bd-46e5-8b11-4cc9402d0b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/cart/v1/cart/:id","description":"<p>Retrieve cart by supplying the cart id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["cart","v1","cart",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"CART__cr3lj1fkk34srpu","key":"id"}]}},"response":[{"id":"5bc6aaaf-3115-442b-bafd-6dd252c5c80e","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id","host":["{{base_url}}"],"path":["cart","v1","cart",":id"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksws"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"132"},{"key":"ETag","value":"W/\"84-1f2ner9Hn7G5Sh4wIbyhUeD5v6U\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:21:48 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Cart with id *CART__3od1mv64lkk1dsksws* not found!\",\n    \"url\": \"/cart/v1/cart/CART__3od1mv64lkk1dsksws\"\n}"},{"id":"d6923ffc-b7d9-4c87-9a9c-72de05f5bc2c","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id","host":["{{base_url}}"],"path":["cart","v1","cart",":id"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksw"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"795"},{"key":"ETag","value":"W/\"31b-/Ve+QqFqgdrSQGx0kFRXuDiSL0A\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:18:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Cart Successfully Retrieved\",\n    \"data\": {\n        \"cart\": {\n            \"id\": \"CART__3od1mv64lkk1dsksw\",\n            \"createdAt\": \"2021-01-17T16:56:03.151Z\",\n            \"products\": [\n                {\n                    \"id\": \"PRDCT__13pgyi1xwekk0a0rd7\",\n                    \"name\": \"Iphone xs max\",\n                    \"description\": \"This is the highest grade of Iphone 11 flagship\",\n                    \"sku\": \"P - undefined - 756VKI6 - 13pgyi1xwekk0a0rd8\",\n                    \"unitPrice\": 380000,\n                    \"expiration\": null,\n                    \"size\": null,\n                    \"color\": null,\n                    \"type\": null,\n                    \"stockLevel\": 35,\n                    \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n                    \"reorderLevel\": 5,\n                    \"updatedAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"createdAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"category\": {\n                        \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                        \"name\": \"phones\",\n                        \"description\": \"This is a simple category containing all phones\",\n                        \"status\": \"Active\",\n                        \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                        \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n                    },\n                    \"quantity\": 1\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"fa5b6443-b7bd-46e5-8b11-4cc9402d0b34"},{"name":"Modify Cart","id":"274c8793-2efc-4b4a-843a-4e9a42afddd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{base_url}}/cart/v1/cart/:id/:productId/:quantity","description":"<p>Modify cart by supplying the cart id, product id\nand quantity modification.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["cart","v1","cart",":id",":productId",":quantity"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"CART__3od1mv64lkk1dsksw","key":"id"},{"type":"string","value":"PRDCT__13pgyi1xwekk0a0rd7","key":"productId"},{"type":"string","value":"3","key":"quantity"}]}},"response":[{"id":"6dab3c1b-8444-4fb2-ac02-3b6eec52e39f","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id/:productId/:quantity","host":["{{base_url}}"],"path":["cart","v1","cart",":id",":productId",":quantity"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksw"},{"key":"productId","value":"PRDCT__13pgyi1xwekk0a0rd7"},{"key":"quantity","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"794"},{"key":"ETag","value":"W/\"31a-wuNrp6X/onXbr+k5015Fmlc1FyM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:42:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Cart Successfully Modified\",\n    \"data\": {\n        \"cart\": {\n            \"id\": \"CART__3od1mv64lkk1dsksw\",\n            \"createdAt\": \"2021-01-17T16:56:03.151Z\",\n            \"products\": [\n                {\n                    \"id\": \"PRDCT__13pgyi1xwekk0a0rd7\",\n                    \"name\": \"Iphone xs max\",\n                    \"description\": \"This is the highest grade of Iphone 11 flagship\",\n                    \"sku\": \"P - undefined - 756VKI6 - 13pgyi1xwekk0a0rd8\",\n                    \"unitPrice\": 380000,\n                    \"expiration\": null,\n                    \"size\": null,\n                    \"color\": null,\n                    \"type\": null,\n                    \"stockLevel\": 35,\n                    \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n                    \"reorderLevel\": 5,\n                    \"updatedAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"createdAt\": \"2021-01-16T22:22:40.310Z\",\n                    \"category\": {\n                        \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                        \"name\": \"phones\",\n                        \"description\": \"This is a simple category containing all phones\",\n                        \"status\": \"Active\",\n                        \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                        \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n                    },\n                    \"quantity\": 2\n                }\n            ]\n        }\n    }\n}"},{"id":"b68dc4be-9675-4994-a102-e6f58501cbdd","name":"Not Found","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id/:productId/:quantity","host":["{{base_url}}"],"path":["cart","v1","cart",":id",":productId",":quantity"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksw"},{"key":"productId","value":"PRDCT__13pgyi1xwekk0a0rd7a"},{"key":"quantity","value":"2"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"165"},{"key":"ETag","value":"W/\"a5-dAOea0tMGGv0Na/j5eVKUKSN+l4\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:42:43 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Product with id *PRDCT__13pgyi1xwekk0a0rd7a* not found!\",\n    \"url\": \"/cart/v1/cart/CART__3od1mv64lkk1dsksw/PRDCT__13pgyi1xwekk0a0rd7a/2\"\n}"}],"_postman_id":"274c8793-2efc-4b4a-843a-4e9a42afddd6"},{"name":"Remove From Cart","id":"aa8d4f59-2d9e-46b8-9145-c4a6bfc498f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/cart/v1/cart/:id/:productId","description":"<p>Remove from cart by supplying the cart id, product id.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}},"urlObject":{"path":["cart","v1","cart",":id",":productId"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"CART__3od1mv64lkk1dsksw","key":"id"},{"type":"string","value":"PRDCT__13pgyi1z6hkk0arcsu","key":"productId"}]}},"response":[{"id":"35947251-1f0b-46ff-912d-df5a74c4526e","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id/:productId","host":["{{base_url}}"],"path":["cart","v1","cart",":id",":productId"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksw"},{"key":"productId","value":"PRDCT__13pgyi1z6hkk0arcsu"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"718"},{"key":"ETag","value":"W/\"2ce-vIKzNg+gP4GYEEx0ukwrgwEaX1A\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:55:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10000\",\n    \"message\": \"Cart Item Successfully Removed\",\n    \"data\": {\n        \"removedProduct\": {\n            \"id\": \"PRDCT__13pgyi1z6hkk0arcsu\",\n            \"name\": \"Iphone xs\",\n            \"description\": \"This is the second highest grade of Iphone 11 flagship\",\n            \"sku\": \"P-yo*15d0-13pgyi1z6hkk0arcsv\",\n            \"unitPrice\": 320000,\n            \"expiration\": null,\n            \"size\": null,\n            \"color\": \"Dark green\",\n            \"type\": \"xs\",\n            \"stockLevel\": 56,\n            \"categoryId\": \"CAT__13pgyi1snakk06j1fv\",\n            \"reorderLevel\": 5,\n            \"updatedAt\": \"2021-01-16T22:43:55.323Z\",\n            \"createdAt\": \"2021-01-16T22:43:21.103Z\",\n            \"category\": {\n                \"id\": \"CAT__13pgyi1snakk06j1fv\",\n                \"name\": \"phones\",\n                \"description\": \"This is a simple category containing all phones\",\n                \"status\": \"Active\",\n                \"updatedAt\": \"2021-01-16T22:33:53.233Z\",\n                \"createdAt\": \"2021-01-16T20:44:54.741Z\"\n            },\n            \"quantity\": 1\n        }\n    }\n}"},{"id":"441d91ba-92ff-477b-a41d-75e77d5d2629","name":"Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/cart/v1/cart/:id/:productId","host":["{{base_url}}"],"path":["cart","v1","cart",":id",":productId"],"variable":[{"key":"id","value":"CART__3od1mv64lkk1dsksw"},{"key":"productId","value":"PRDCT__13pgyi1z6hkk0arcsu"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"169"},{"key":"ETag","value":"W/\"a9-VMXzR+R2dXGdVaINqOsvgN8bEwc\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 17 Jan 2021 17:55:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": \"10001\",\n    \"message\": \"Product with id *PRDCT__13pgyi1z6hkk0arcsu* not found in cart!\",\n    \"url\": \"/cart/v1/cart/CART__3od1mv64lkk1dsksw/PRDCT__13pgyi1z6hkk0arcsu\"\n}"}],"_postman_id":"aa8d4f59-2d9e-46b8-9145-c4a6bfc498f5"}],"id":"0bd2a176-3f7f-4dfe-a2d2-599976bc9a89","description":"<p>All cart related enpoints on the shopping cart application</p>\n","_postman_id":"0bd2a176-3f7f-4dfe-a2d2-599976bc9a89","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"5df3db1a-131b-4d01-abd6-fc818313c26b","id":"5df3db1a-131b-4d01-abd6-fc818313c26b","name":"Shopping Cart","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"b28b998e-f522-406f-a8bc-b2744db82886","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f571982f-072c-49cd-8df6-8d7182b1acca","type":"text/javascript","exec":[""]}}]}