{"info":{"_postman_id":"359c885e-7ad6-4c8d-9410-93bc6e1fc978","name":"GrapQL Share Cart","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"359c885e-7ad6-4c8d-9410-93bc6e1fc978","publishedId":"SzRxXrGB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-09-24T04:44:00.000Z"},"item":[{"name":"Get share cart token","id":"6869023f-aee7-4610-823c-2ec549df754f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"{\r\n  cart(cart_id: \"I8vDkutAaDeO3UpYcLhGVDLG4dHb0UNX\") {\r\n    mp_share_cart_token\r\n  }\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","description":"<p>You can get cart_id <a href=\"https://devdocs.magento.com/guides/v2.3/graphql/mutations/create-empty-cart.html\">here</a> </p>\n","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"fc4039ca-a38c-4fd0-8d08-9aca28c6802a","name":"Get Share Cart Token Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Mar 2020 08:44:11 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Tue, 05 Mar 2019 08:44:11 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=4bc89if1e9po333butqvee9so2; expires=Thu, 05-Mar-2020 09:44:11 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=1b509d0bec97673df0e60fbfa4332611; expires=Sun, 03-Mar-2030 08:44:11 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=393bc9c4dbf74c7ef8485d286a19b722; expires=Sun, 03-Mar-2030 08:44:11 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=d06e60c823706b699957acc45ec107f6; expires=Sun, 03-Mar-2030 08:44:11 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Debug","value":"1"},{"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":"76"},{"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        \"cart\": {\n            \"mp_share_cart_token\": \"Q3h6VQWtDD2vd89kXHTU1VK05VXUlK1J\"\n        }\n    }\n}"}],"_postman_id":"6869023f-aee7-4610-823c-2ec549df754f"},{"name":"Share cart by token","id":"4e910123-2d86-459d-a365-04facf322591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation test ($mp_share_cart_token:String!)\r\n{\r\n   MpShareCart(mp_share_cart_token:$mp_share_cart_token) {\r\n    email\r\n     mp_share_cart_token\r\n   } \r\n}","variables":"{\n\t\"mp_share_cart_token\": \"ooGrJlU9lu2bC6uD0sdb186iWDXOtPky\"\n}"}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"55e825e3-c293-4309-8185-b1a22bd56610","name":"MpShare Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 02 Mar 2020 04:29:20 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Sat, 02 Mar 2019 04:29:21 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ncesgvvimgd8j6poi9tbm2e4rb; expires=Mon, 02-Mar-2020 05:29:20 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=7da99c9b13b2ee3ca6274250d3820ef1; expires=Thu, 28-Feb-2030 04:29:20 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=76048d1ae2a409ccc3441d66f50e8d01; expires=Thu, 28-Feb-2030 04:29:21 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=a1a7db8cf77668127f1584c1c5c05196; expires=Thu, 28-Feb-2030 04:29:21 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Debug","value":"1"},{"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":"96"},{"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        \"MpShareCart\": {\n            \"email\": null,\n            \"mp_share_cart_token\": \"pl7lr8xHWVOCRBKofPZtcvOEv7lgWaf0\"\n        }\n    }\n}"}],"_postman_id":"4e910123-2d86-459d-a365-04facf322591"}],"event":[{"listen":"prerequest","script":{"id":"a6248742-6a24-4449-b1ce-04f8cb5aa277","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6a7c8214-0f81-4467-af60-331eac3bab21","type":"text/javascript","exec":[""]}}]}