{"info":{"_postman_id":"d1199041-2364-4f7a-a220-9ed1f38bd352","name":"Special Promotions","description":"<html><head></head><body><p>Endpoint: /V1/carts/{cartId}/items</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10589000","collectionId":"d1199041-2364-4f7a-a220-9ed1f38bd352","publishedId":"TVCiTmeZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-09-07T10:23:42.000Z"},"item":[{"name":"Get Discount Info by CartID","id":"adcf1356-1f87-4754-9f77-5a66590317d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/carts/5/items","urlObject":{"path":["rest","V1","carts","5","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3b8b189c-9d33-42c7-860a-2e0b2839309f","name":"Get Discount Info by CartID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/carts/5/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Oct 2020 02:44:27 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=e2dumekgvuog07m3svvcer3ql1; expires=Tue, 13-Oct-2020 03:44:27 GMT; Max-Age=3600; path=/quynh/ce232; domain=192.168.1.200; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"252"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"397164"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"item_id\": 9,\n        \"sku\": \"24-WB07\",\n        \"qty\": 2,\n        \"name\": \"Overnight Duffle\",\n        \"price\": 45,\n        \"product_type\": \"simple\",\n        \"quote_id\": \"5\",\n        \"extension_attributes\": {\n            \"discount_details\": [\n                {\n                    \"amount\": 9,\n                    \"title\": \"Discount 10%\",\n                    \"rule_id\": 5,\n                    \"items\": [\n                        {\n                            \"amount\": 9,\n                            \"item_id\": 9,\n                            \"qty\": 2\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"adcf1356-1f87-4754-9f77-5a66590317d9"},{"name":"Customer Get Discount Info from Cart","id":"ab1529e9-f7eb-44e2-b041-3f1cde0d1ccb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/carts/mine/items","urlObject":{"path":["rest","V1","carts","mine","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9cf5751-9723-4066-9391-e35f439d0ee2","name":"Customer Get Discount Info from Cart Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/carts/mine/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 13 Oct 2020 02:45:13 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=e2dumekgvuog07m3svvcer3ql1; expires=Tue, 13-Oct-2020 03:45:13 GMT; Max-Age=3600; path=/quynh/ce232; domain=192.168.1.200; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"252"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"198391"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"item_id\": 9,\n        \"sku\": \"24-WB07\",\n        \"qty\": 2,\n        \"name\": \"Overnight Duffle\",\n        \"price\": 45,\n        \"product_type\": \"simple\",\n        \"quote_id\": \"5\",\n        \"extension_attributes\": {\n            \"discount_details\": [\n                {\n                    \"amount\": 9,\n                    \"title\": \"Discount 10%\",\n                    \"rule_id\": 5,\n                    \"items\": [\n                        {\n                            \"amount\": 9,\n                            \"item_id\": 9,\n                            \"qty\": 2\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"ab1529e9-f7eb-44e2-b041-3f1cde0d1ccb"}]}