{"info":{"_postman_id":"a4c36f17-faf5-48a2-b314-bd3faff231e1","name":"Magento 2 Save Cart & Buy Later GraphQL","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"a4c36f17-faf5-48a2-b314-bd3faff231e1","publishedId":"TVsuC7mq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-21T08:20:02.000Z"},"item":[{"name":"Get Save Cart Config","id":"b5708a5f-b1df-4fa0-8c92-0cb1932b8f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartConfigs {\r\n\t\tallow_share\r\n\t\tbutton_title\r\n\t\tenabled\r\n\t\ticon\r\n\t\ticon_url\r\n\t\tpage_link_area\r\n\t\tshow_button_guest\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c586b4a9-0875-45cc-b3b9-cc366ae70c96","name":"Get Save Cart Config Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartConfigs {\r\n\t\tallow_share\r\n\t\tbutton_title\r\n\t\tenabled\r\n\t\ticon\r\n\t\ticon_url\r\n\t\tpage_link_area\r\n\t\tshow_button_guest\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:20:23 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:20:26 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:20:26 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=a48625ecaa84407a96b2468ecd123f0e; expires=Thu, 19-Dec-2030 08:20:26 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"266"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartConfigs\": {\n            \"allow_share\": 1,\n            \"button_title\": \"Save Cart\",\n            \"enabled\": 1,\n            \"icon\": \"default/icon.png\",\n            \"icon_url\": \"http://s100.mageplaza.vn:81/api/ce236/pub/media/mageplaza/savecart/default/icon.png\",\n            \"page_link_area\": \"1,2\",\n            \"show_button_guest\": 1\n        }\n    }\n}"}],"_postman_id":"b5708a5f-b1df-4fa0-8c92-0cb1932b8f88"},{"name":"Get Saved Cart List","id":"e7d5ef7f-ee10-4648-8344-032b75f21ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartGetCarts(filter: { store_id: { eq: \"1\" } }) {\r\n\t\ttotal_count\r\n\t\titems {\r\n\t\t\tcart_id\r\n\t\t\tcart_name\r\n\t\t\tcreated_at\r\n\t\t\tcustomer_id\r\n\t\t\tshare_url\r\n\t\t\tstore_id\r\n\t\t\ttoken\r\n\t\t\titems {\r\n\t\t\t\tcart_id\r\n\t\t\t\tcart_item_id\r\n\t\t\t\tcreated_at\r\n\t\t\t\timage\r\n\t\t\t\tprice\r\n\t\t\t\tproduct_id\r\n\t\t\t\tproduct_name\r\n\t\t\t\tqty\r\n\t\t\t\tsku\r\n\t\t\t\tstore_id\r\n\t\t\t\tsubtotal_converted\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1e9dd183-6449-4a73-b253-005524a49689","name":"Get Saved Cart List Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartGetCarts(filter: { store_id: { eq: \"1\" } }) {\r\n\t\ttotal_count\r\n\t\titems {\r\n\t\t\tcart_id\r\n\t\t\tcart_name\r\n\t\t\tcreated_at\r\n\t\t\tcustomer_id\r\n\t\t\tshare_url\r\n\t\t\tstore_id\r\n\t\t\ttoken\r\n\t\t\titems {\r\n\t\t\t\tcart_id\r\n\t\t\t\tcart_item_id\r\n\t\t\t\tcreated_at\r\n\t\t\t\timage\r\n\t\t\t\tprice\r\n\t\t\t\tproduct_id\r\n\t\t\t\tproduct_name\r\n\t\t\t\tqty\r\n\t\t\t\tsku\r\n\t\t\t\tstore_id\r\n\t\t\t\tsubtotal_converted\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:23:28 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:23:29 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:23:28 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=051faa3e88ef8f56277822740af704b4; expires=Thu, 19-Dec-2030 08:23:28 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1039"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartGetCarts\": {\n            \"total_count\": 1,\n            \"items\": [\n                {\n                    \"cart_id\": 1,\n                    \"cart_name\": \"test api\",\n                    \"created_at\": \"2020-12-21 07:08:14\",\n                    \"customer_id\": \"1\",\n                    \"share_url\": \"http://s100.mageplaza.vn:81/api/ce236/mpsavecart/cart/share/id/kvwvd3uqMq9bM6qn7X4JlRSu3h0NKP1D/\",\n                    \"store_id\": \"1\",\n                    \"token\": \"kvwvd3uqMq9bM6qn7X4JlRSu3h0NKP1D\",\n                    \"items\": [\n                        {\n                            \"cart_id\": \"1\",\n                            \"cart_item_id\": 1,\n                            \"created_at\": \"2020-12-21 07:08:14\",\n                            \"image\": \"http://s100.mageplaza.vn:81/api/ce236/pub/media/catalog/product/cache/936abd0666f39dd28535b6130fc1e41a/w/b/wb03-purple-0.jpg\",\n                            \"price\": \"36\",\n                            \"product_id\": \"12\",\n                            \"product_name\": \"Driven Backpack\",\n                            \"qty\": 1,\n                            \"sku\": \"24-WB03\",\n                            \"store_id\": 1,\n                            \"subtotal_converted\": \"$36.00\"\n                        },\n                        {\n                            \"cart_id\": \"1\",\n                            \"cart_item_id\": 2,\n                            \"created_at\": \"2020-12-21 07:08:14\",\n                            \"image\": \"http://s100.mageplaza.vn:81/api/ce236/pub/media/catalog/product/cache/936abd0666f39dd28535b6130fc1e41a/w/b/wb06-red-0.jpg\",\n                            \"price\": \"33\",\n                            \"product_id\": \"11\",\n                            \"product_name\": \"Endeavor Daytrip Backpack\",\n                            \"qty\": 1,\n                            \"sku\": \"24-WB06\",\n                            \"store_id\": 1,\n                            \"subtotal_converted\": \"$33.00\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"e7d5ef7f-ee10-4648-8344-032b75f21ccf"},{"name":"Get Saved Product List","id":"8e37b7fa-c89d-48c3-bcfb-2f6db2bc04df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartGetProducts {\r\n\t\ttotal_count\r\n\t\titems {\r\n\t\t\tid\r\n\t\t\tcreated_at\r\n\t\t\tcustomer_id\r\n\t\t\timage_url\r\n\t\t\tprice\r\n\t\t\tproduct_id\r\n\t\t\tproduct_name\r\n\t\t\tshare_url\r\n\t\t\tstore_id\r\n\t\t\tsubtotal_converted\r\n\t\t\ttoken\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"96bee302-e941-4aa4-a988-599127ce2905","name":"Get Saved Product List Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartGetProducts {\r\n\t\ttotal_count\r\n\t\titems {\r\n\t\t\tid\r\n\t\t\tcreated_at\r\n\t\t\tcustomer_id\r\n\t\t\timage_url\r\n\t\t\tprice\r\n\t\t\tproduct_id\r\n\t\t\tproduct_name\r\n\t\t\tshare_url\r\n\t\t\tstore_id\r\n\t\t\tsubtotal_converted\r\n\t\t\ttoken\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:25:24 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:25:24 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:25:24 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=e7fe11ff0981f490e52bad931dc29296; expires=Thu, 19-Dec-2030 08:25:24 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"550"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartGetProducts\": {\n            \"total_count\": 1,\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"created_at\": \"2020-12-21 07:07:49\",\n                    \"customer_id\": 1,\n                    \"image_url\": \"http://s100.mageplaza.vn:81/api/ce236/pub/media/catalog/product/cache/936abd0666f39dd28535b6130fc1e41a/w/b/wb07-brown-0.jpg\",\n                    \"price\": \"$45.00\",\n                    \"product_id\": 13,\n                    \"product_name\": \"Overnight Duffle\",\n                    \"share_url\": \"http://s100.mageplaza.vn:81/api/ce236/mpsavecart/product/share/id/coBugMIZd4Ve9ntaBLBgkDTNwgT2qnni/\",\n                    \"store_id\": 1,\n                    \"subtotal_converted\": \"$45.00\",\n                    \"token\": \"coBugMIZd4Ve9ntaBLBgkDTNwgT2qnni\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"8e37b7fa-c89d-48c3-bcfb-2f6db2bc04df"},{"name":"View Saved Cart by Token","id":"1806a286-04ca-4538-b4dc-9e7a30b5c7cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartViewCarts(token: \"vKUaaoCwA60vZhsxMveaw3QNnmyi8XiX\") {\r\n\t\tcart_id\r\n\t\tcart_name\r\n\t\tcreated_at\r\n\t\tcustomer_id\r\n\t\tshare_url\r\n\t\tstore_id\r\n\t\ttoken\r\n\t\titems {\r\n\t\t\tcart_id\r\n\t\t\tcart_item_id\r\n\t\t\tcreated_at\r\n\t\t\timage\r\n\t\t\tprice\r\n\t\t\tproduct_id\r\n\t\t\tproduct_name\r\n\t\t\tqty\r\n\t\t\tsku\r\n\t\t\tstore_id\r\n\t\t\tsubtotal_converted\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0b187deb-7623-49c8-b96b-3fed5b164c27","name":"View Saved Cart by Token Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tmpSaveCartViewCarts(token: \"vKUaaoCwA60vZhsxMveaw3QNnmyi8XiX\") {\r\n\t\tcart_id\r\n\t\tcart_name\r\n\t\tcreated_at\r\n\t\tcustomer_id\r\n\t\tshare_url\r\n\t\tstore_id\r\n\t\ttoken\r\n\t\titems {\r\n\t\t\tcart_id\r\n\t\t\tcart_item_id\r\n\t\t\tcreated_at\r\n\t\t\timage\r\n\t\t\tprice\r\n\t\t\tproduct_id\r\n\t\t\tproduct_name\r\n\t\t\tqty\r\n\t\t\tsku\r\n\t\t\tstore_id\r\n\t\t\tsubtotal_converted\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:28:38 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:28:38 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:28:38 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=336fbf025ad153d4d21b3a1c636cb794; expires=Thu, 19-Dec-2030 08:28:38 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"669"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartViewCarts\": {\n            \"cart_id\": 2,\n            \"cart_name\": \"example cart\",\n            \"created_at\": \"2020-12-21 08:24:27\",\n            \"customer_id\": \"1\",\n            \"share_url\": \"http://s100.mageplaza.vn:81/api/ce236/mpsavecart/cart/share/id/vKUaaoCwA60vZhsxMveaw3QNnmyi8XiX/\",\n            \"store_id\": \"1\",\n            \"token\": \"vKUaaoCwA60vZhsxMveaw3QNnmyi8XiX\",\n            \"items\": [\n                {\n                    \"cart_id\": \"2\",\n                    \"cart_item_id\": 3,\n                    \"created_at\": \"2020-12-21 08:24:27\",\n                    \"image\": \"http://s100.mageplaza.vn:81/api/ce236/pub/media/catalog/product/cache/936abd0666f39dd28535b6130fc1e41a/w/b/wb06-red-0.jpg\",\n                    \"price\": \"33\",\n                    \"product_id\": \"11\",\n                    \"product_name\": \"Endeavor Daytrip Backpack\",\n                    \"qty\": 1,\n                    \"sku\": \"24-WB06\",\n                    \"store_id\": 1,\n                    \"subtotal_converted\": \"$33.00\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"1806a286-04ca-4538-b4dc-9e7a30b5c7cc"},{"name":"Delete Saved Product","id":"29e3f853-4575-465d-9b03-8633097e4f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartDeleteProduct(token:\"coBugMIZd4Ve9ntaBLBgkDTNwgT2qnni\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cddfaf97-dfc4-424f-b840-f011bbfaad3a","name":"Delete Saved Product Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartDeleteProduct(token:\"coBugMIZd4Ve9ntaBLBgkDTNwgT2qnni\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:29:36 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:29:36 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:29:36 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=3d1ff7d43ff1c2e6d45f3e7f01397fa7; expires=Thu, 19-Dec-2030 08:29:36 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"41"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartDeleteProduct\": true\n    }\n}"}],"_postman_id":"29e3f853-4575-465d-9b03-8633097e4f49"},{"name":"Restore Saved Product","id":"911647ea-7cac-4f87-b68e-4354d98968c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCartRestoreProduct(token: \"h16bo2moIsMFpDC1iynPbYLC5Om7T73Z\", cart_id: \"3\")\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4db81003-6965-4744-8910-12748eb25fd2","name":"Restore Saved Product Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCartRestoreProduct(token: \"fddHqXXicjWGWci39Xr9vyAHdt0eBF7e\", cart_id: \"3\")\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:32:08 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:32:08 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:32:08 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=1ea05a2c3651acb326f14cb34ceb7ff2; expires=Thu, 19-Dec-2030 08:32:08 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"42"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartRestoreProduct\": true\n    }\n}"}],"_postman_id":"911647ea-7cac-4f87-b68e-4354d98968c7"},{"name":"Share Saved Product","id":"55e2aac1-7c1a-4196-a02e-1c1f57bed872","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartShareProduct(token:\"Uorz6k67GKb8YETPhEXkxjI8q18CVt1X\",cart_id:\"POM2v1EPfbNzrVeBb2Lt62tCXlO0tqDQ\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"943d2ba3-d87d-403a-8aae-0aa52553b608","name":"Share Saved Product Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartShareProduct(token:\"Uorz6k67GKb8YETPhEXkxjI8q18CVt1X\",cart_id:\"POM2v1EPfbNzrVeBb2Lt62tCXlO0tqDQ\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:35:35 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:35:35 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:35:35 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=8cbecd74cf49874f2fd54f8e40ba8929; expires=Thu, 19-Dec-2030 08:35:35 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"40"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartShareProduct\": true\n    }\n}"}],"_postman_id":"55e2aac1-7c1a-4196-a02e-1c1f57bed872"},{"name":"Share Saved Cart","id":"dd4fd1ae-e5a6-4997-a6c8-ad96a2225799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartShareCart(cart_id:\"DIfAYQqq2rGxE5YK78qDeeaWxsJ4cUoT\", token:\"ccR5EzyW2rwTSGciiHz0qWxKwq2gpRmg\"\r\n)\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a1fb052f-951b-4260-9a46-5efcea135813","name":"Share Saved Cart Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartShareCart(cart_id:\"POM2v1EPfbNzrVeBb2Lt62tCXlO0tqDQ\", token:\"vKUaaoCwA60vZhsxMveaw3QNnmyi8XiX\"\r\n)\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 08:35:14 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 08:35:15 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 09:35:14 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=17bb711ee9351564e7479fbdffb5bb6a; expires=Thu, 19-Dec-2030 08:35:14 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"37"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartShareCart\": true\n    }\n}"}],"_postman_id":"dd4fd1ae-e5a6-4997-a6c8-ad96a2225799"},{"name":"Restore Saved Cart","id":"356a3d79-178c-4ef8-afd9-f0a318670ced","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartRestoreCart(token:\"kvwvd3uqMq9bM6qn7X4JlRSu3h0NKP1D\", cart_id:\"3\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"874a64df-e1b2-4290-8982-ba217ea093b7","name":"Restore Saved Cart Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartRestoreCart(token:\"kvwvd3uqMq9bM6qn7X4JlRSu3h0NKP1D\", cart_id:\"3\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 09:03:43 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 09:03:44 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 10:03:43 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=72239ce1262a955c79841faf1708d95b; expires=Thu, 19-Dec-2030 09:03:43 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"39"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartRestoreCart\": true\n    }\n}"}],"_postman_id":"356a3d79-178c-4ef8-afd9-f0a318670ced"},{"name":"Delete Saved Cart","id":"89393e20-e9ac-4036-841c-f069e70179e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartDeleteCart(token:\"aDkj1AAn5OZy3Ct1CWvXu8AuJ7MEgbiZ\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"de664dd8-481b-4265-9bef-7e1c24845e53","name":"Delete Saved Cart Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  mpSaveCartDeleteCart(token:\"aDkj1AAn5OZy3Ct1CWvXu8AuJ7MEgbiZ\")\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 09:04:42 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 09:04:42 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 10:04:42 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=3b480fd5d623c25fe56e7b70cc7c4ace; expires=Thu, 19-Dec-2030 09:04:42 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"38"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartDeleteCart\": true\n    }\n}"}],"_postman_id":"89393e20-e9ac-4036-841c-f069e70179e3"},{"name":"Save Cart","id":"4747f61c-d753-4ff4-b19e-40151ba1bd43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCart(cart_id: 3, cart_name: \"example\", description: \"save cart\")\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"fca41a13-5664-48fa-b5ca-40879983f986","name":"Save Cart Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCart(cart_id: 3, cart_name: \"example\", description: \"save cart\")\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 09:05:34 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 09:05:34 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 10:05:34 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=5162e657a331d06cd6d0db657a5fcc94; expires=Thu, 19-Dec-2030 09:05:34 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"28"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCart\": true\n    }\n}"}],"_postman_id":"4747f61c-d753-4ff4-b19e-40151ba1bd43"},{"name":"Save Cart Item","id":"18895e19-baab-4091-9cb3-b8cfa8c9f10f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCartSaveItem(cart_id: 3, item_id: 34)\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cb6a93c0-4964-448b-8876-19d173c8d776","name":"Save Cart Item Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\r\n\tmpSaveCartSaveItem(cart_id: 3, item_id: 24)\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Dec 2020 09:06:12 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sat, 21 Dec 2019 09:06:12 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c31sp713m67con75qdt20fmi67; expires=Mon, 21-Dec-2020 10:06:12 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=eca02ba798284fea5ab91effe02e0fba; expires=Thu, 19-Dec-2030 09:06:12 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Magento-Cache-Debug","value":"MISS"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"36"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"mpSaveCartSaveItem\": true\n    }\n}"}],"_postman_id":"18895e19-baab-4091-9cb3-b8cfa8c9f10f"}]}