{"info":{"_postman_id":"4930f1b5-eedb-46ba-ad3b-4edad493d00a","name":"Magento 2 Request for Quote REST API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"4930f1b5-eedb-46ba-ad3b-4edad493d00a","publishedId":"T17Na4ek","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-13T02:52:11.000Z"},"item":[{"name":"Add Item to Quote","id":"348e021b-a726-44e3-88a9-02050d5b768d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"cartItem\": {\r\n        \"sku\": \"24-WG080\",\r\n        \"qty\": 1,\r\n        \"quote_id\": \"4\",\r\n        \"product_option\": {\r\n            \"extension_attributes\": {\r\n                \"bundle_options\": [\r\n                    {\r\n                        \"option_id\": 1,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            2\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 2,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            4\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 3,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            6\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 4,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            8\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    }\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItem","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","addItem"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e89cb436-1a25-4795-aab2-c82578b1e983","name":"Add Item to Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"cartItem\": {\r\n        \"sku\": \"24-WG080\",\r\n        \"qty\": 1,\r\n        \"quote_id\": \"4\",\r\n        \"product_option\": {\r\n            \"extension_attributes\": {\r\n                \"bundle_options\": [\r\n                    {\r\n                        \"option_id\": 1,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            2\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 2,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            4\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 3,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            6\r\n                        ]\r\n                    },\r\n                    {\r\n                        \"option_id\": 4,\r\n                        \"option_qty\": 1,\r\n                        \"option_selections\": [\r\n                            8\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    }\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItem"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:11:19 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:11:19 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"890561"},{"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":"true"}],"_postman_id":"348e021b-a726-44e3-88a9-02050d5b768d"},{"name":"Add All Items From Cart","id":"96fa03a2-6576-4541-bbdc-55fad402314d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addAllItemsFromCart","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","addAllItemsFromCart"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6f6c8b16-5f80-44ab-8f22-f38f82c1c7a9","name":"Add All Items From Cart Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addAllItemsFromCart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 10 Jul 2020 11:05:30 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hqog9quijtvo1ofirfe2kpso90; expires=Fri, 10-Jul-2020 12:05:30 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"96fa03a2-6576-4541-bbdc-55fad402314d"},{"name":"Add Items By SKU","id":"73a4b07b-d14a-4c91-9921-9030a27d0050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItemsBySku?skus=24-WB06","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","addItemsBySku"],"host":["{{magento_base_url}}"],"query":[{"key":"skus","value":"24-WB06"}],"variable":[]}},"response":[{"id":"fa76a745-36e4-4873-93ba-81d1e1eb7335","name":"Add Items By SKU Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItemsBySku?skus=24-WB06","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","addItemsBySku"],"query":[{"key":"skus","value":"24-WB06"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:12:13 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:12:13 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"799517"},{"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":"true"}],"_postman_id":"73a4b07b-d14a-4c91-9921-9030a27d0050"},{"name":"Add Item From Cart","id":"c46d2651-274d-4015-a2bc-476891fef2f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItemFromCart/:itemId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","addItemFromCart",":itemId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"137","key":"itemId"}]}},"response":[{"id":"70ac38c8-6f71-4997-81be-f24902b911e7","name":"Add Item From Cart Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addItemFromCart/:itemId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","addItemFromCart",":itemId"],"variable":[{"key":"itemId","value":"137"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:15:50 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:15:50 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"890736"},{"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":"true"}],"_postman_id":"c46d2651-274d-4015-a2bc-476891fef2f1"},{"name":"Cancel Quote","id":"3b2a42ca-8d6f-4ea1-a218-daaa9e84f55f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/cancel/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","cancel",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"1","key":"quoteId"}]}},"response":[{"id":"e105ed56-d39f-4864-acca-268df308f5bb","name":"Cancel Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/cancel/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","cancel",":quoteId"],"variable":[{"key":"quoteId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 10 Jul 2020 11:09:41 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hqog9quijtvo1ofirfe2kpso90; expires=Fri, 10-Jul-2020 12:09:41 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"3b2a42ca-8d6f-4ea1-a218-daaa9e84f55f"},{"name":"Delete Submitted Quote","id":"9d34cc1b-233a-48d9-8a5d-295d5371a211","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteSubmittedQuote/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","deleteSubmittedQuote",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"1","key":"quoteId"}]}},"response":[{"id":"913e5677-f589-4a45-9b97-27a3121cccf5","name":"delete Submitted Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteSubmittedQuote/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","deleteSubmittedQuote",":quoteId"],"variable":[{"key":"quoteId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 10 Jul 2020 11:10:11 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hqog9quijtvo1ofirfe2kpso90; expires=Fri, 10-Jul-2020 12:10:11 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"9d34cc1b-233a-48d9-8a5d-295d5371a211"},{"name":"Delete Item","id":"88d546aa-b010-456d-99a1-cf668c7cbdde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteItem/:itemId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","deleteItem",":itemId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"35","key":"itemId"}]}},"response":[{"id":"cb0c197b-82c2-4227-910b-d2c67bc0695b","name":"Delete Item Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteItem/:itemId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","deleteItem",":itemId"],"variable":[{"key":"itemId","value":"35"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:18:42 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:18:42 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"214620"},{"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":"true"}],"_postman_id":"88d546aa-b010-456d-99a1-cf668c7cbdde"},{"name":"Duplicate Quote","id":"3f3121a0-4328-43de-8027-274df1eccece","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"storeId","value":"1","type":"text"}]},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/duplicate/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","duplicate",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"1","key":"quoteId"}]}},"response":[{"id":"43226d75-fafc-4e18-b231-c1d9957ff777","name":"Duplicate Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"storeId","value":"1","type":"text"}]},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/duplicate/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","duplicate",":quoteId"],"variable":[{"key":"quoteId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:20:10 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:20:10 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"890742"},{"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":"true"}],"_postman_id":"3f3121a0-4328-43de-8027-274df1eccece"},{"name":"Update Quote","id":"509dd07b-c46e-4a14-be17-998016d82859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"quoteItems\":[\r\n        {\r\n            \"item_id\":\"2\",\r\n            \"price\": 25,\r\n            \"qty\":2\r\n        }\r\n    ],\r\n    \"quoteId\":1\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/update","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","update"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"21d405e3-866c-492f-bb53-1a5d762a5ec3","name":"Update Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"quoteItems\":[\r\n        {\r\n            \"item_id\":\"2\",\r\n            \"price\": 25,\r\n            \"qty\":2\r\n        }\r\n    ],\r\n    \"quoteId\":1\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:22:56 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:22:56 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"890745"},{"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":"true"}],"_postman_id":"509dd07b-c46e-4a14-be17-998016d82859"},{"name":"Delete Current Quote","id":"2775b069-1930-42b2-bb9e-feb84899e5be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteCurrentQuote","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","deleteCurrentQuote"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b0a85d7b-e1c7-4f12-a8ab-cfd406ed503c","name":"delete Current Quote Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/deleteCurrentQuote"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 01:52:44 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 02:52:44 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"2775b069-1930-42b2-bb9e-feb84899e5be"},{"name":"Upload File","id":"27aeea24-cb17-47cf-bba6-1840affe6632","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Admin/Downloads/Images/mageplaza.jpg"}]},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/upload","urlObject":{"path":["rest","V1","mpRequestForQuote","customer","reply","upload"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ab86eab4-ab00-416f-b35f-eb39873a8080","name":"Upload file example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Admin/Downloads/Images/mageplaza.jpg"}]},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 01:56:02 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 02:56:02 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"188"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"file_id\": \"15946053624907_907\",\n    \"file\": \"/m/a/mageplaza.jpg\",\n    \"location\": \"mageplaza/requestforquote/tmp/m/a/mageplaza.jpg\",\n    \"name\": \"mageplaza.jpg\",\n    \"size\": \"29657\",\n    \"type\": \"image/jpeg\"\n}"}],"_postman_id":"27aeea24-cb17-47cf-bba6-1840affe6632"},{"name":"Save Reply","id":"ec06ae35-5565-49ab-aec8-df6615df2fe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"test save reply\",\r\n    \"files\": [\r\n        {\r\n            \"file_id\": \"16091297250202_202\",\r\n            \"file\": \"/m/d/mdts.jpg.tmp\",\r\n            \"location\": \"mageplaza/requestforquote/tmp/m/d/mdts.jpg\",\r\n            \"name\": \"mdts.jpg\",\r\n            \"size\": \"78182\",\r\n            \"type\": \"image/jpeg\"\r\n        }\r\n    ]\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/save/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","customer","reply","save",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"3","key":"quoteId"}]}},"response":[{"id":"45e15f2d-0158-4dfa-b1f8-aefc0301a682","name":"Save Reply Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"test save reply\",\r\n    \"files\": [\r\n        {\r\n            \"file_id\": \"16091297250202_202\",\r\n            \"file\": \"/m/d/mdts.jpg.tmp\",\r\n            \"location\": \"mageplaza/requestforquote/tmp/m/d/mdts.jpg\",\r\n            \"name\": \"mdts.jpg\",\r\n            \"size\": \"78182\",\r\n            \"type\": \"image/jpeg\"\r\n        }\r\n    ]\r\n}"},"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/save/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","customer","reply","save",":quoteId"],"variable":[{"key":"quoteId","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Dec 2020 04:50:52 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=93us3f469ilq5fshvdlvampfn6; expires=Mon, 28-Dec-2020 05:50:52 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"ec06ae35-5565-49ab-aec8-df6615df2fe2"},{"name":"Add Quote To Cart","id":"04063af4-8144-46f4-89ad-6e8c655b5978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addToCart/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","addToCart",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"5","key":"quoteId"}]}},"response":[{"id":"706190f5-f6af-4813-8837-eb3c5d5781d0","name":"add To Cart example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/addToCart/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","addToCart",":quoteId"],"variable":[{"key":"quoteId","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 01:58:02 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 02:58:03 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"04063af4-8144-46f4-89ad-6e8c655b5978"},{"name":"Quick Add Items","id":"8cf77fb4-8c07-40b4-8c0e-0d28d5d72cc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cartItems\": [\r\n        {\r\n            \"sku\": \"24-MB01\",\r\n            \"qty\": 1\r\n        },\r\n        {\r\n            \"sku\": \"24-WG080\",\r\n            \"qty\": 1,\r\n            \"product_option\": {\r\n                \"extension_attributes\": {\r\n                    \"bundle_options\": [\r\n                        {\r\n                            \"option_id\": 1,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                2\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 2,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                4\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 3,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                6\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 4,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                8\r\n                            ]\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/quickAdd","description":"<p>When installing the module Quick Order of Mageplaza, you can add product from Quick Order to quote</p>\n","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","quickAdd"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0c7422fd-a0e4-4328-a51f-fb8407ef7a46","name":"Quick Add Items Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cartItems\": [\r\n        {\r\n            \"sku\": \"24-MB01\",\r\n            \"qty\": 1\r\n        },\r\n        {\r\n            \"sku\": \"24-WG080\",\r\n            \"qty\": 1,\r\n            \"product_option\": {\r\n                \"extension_attributes\": {\r\n                    \"bundle_options\": [\r\n                        {\r\n                            \"option_id\": 1,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                2\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 2,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                4\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 3,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                6\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"option_id\": 4,\r\n                            \"option_qty\": 1,\r\n                            \"option_selections\": [\r\n                                8\r\n                            ]\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/quickAdd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Sep 2020 11:25:19 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=pm0gkrvb6n5top7kfsosqc9dec; expires=Fri, 04-Sep-2020 12:25:19 GMT; Max-Age=3600; path=/quynh/ce235q; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"214633"},{"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":"true"}],"_postman_id":"8cf77fb4-8c07-40b4-8c0e-0d28d5d72cc8"},{"name":"Download File","id":"2fca1193-a7cc-4901-9293-66e58ed46821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/file/download/:replyId/:fileId","description":"<p>To download the file, click on <strong>Save Response &gt; Save to a file</strong> in the right corner of Respone section. Use the following sreenshot as reference: <a href=\"http://prntscr.com/tglype\">http://prntscr.com/tglype</a></p>\n","urlObject":{"path":["rest","V1","mpRequestForQuote","customer","file","download",":replyId",":fileId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"2","key":"replyId"},{"type":"string","value":"1594375076654_654","key":"fileId"}]}},"response":[{"id":"4bae7595-2997-49b5-b0cb-4913a30a1f99","name":"Download File Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/file/download/:replyId/:fileId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","customer","file","download",":replyId",":fileId"],"variable":[{"key":"replyId","value":"2"},{"key":"fileId","value":"1594375076654_654"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2fca1193-a7cc-4901-9293-66e58ed46821"},{"name":"Get List Quote","id":"00e88c84-8779-4b51-b903-0cbdd0329f82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/getList","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","getList"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5bcfff30-66c4-4750-adc8-2026a349267b","name":"Get List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/getList"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 02:03:52 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 03:03:52 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2526"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"entity_id\": \"2\",\n            \"store_id\": \"1\",\n            \"created_at\": \"2020-07-10 11:10:40\",\n            \"updated_at\": \"2020-07-10 11:12:34\",\n            \"expired_at\": null,\n            \"is_active\": \"1\",\n            \"is_sent_reminder\": \"0\",\n            \"status\": \"pending\",\n            \"items_count\": \"1\",\n            \"items_qty\": \"1.0000\",\n            \"customer_id\": \"1\",\n            \"customer_group_id\": \"1\",\n            \"customer_email\": \"roni_cost@example.com\",\n            \"remote_ip\": \"192.168.1.1\",\n            \"base_currency_code\": \"USD\",\n            \"quote_currency_code\": \"USD\",\n            \"subtotal\": \"36.0000\",\n            \"base_subtotal\": \"36.0000\",\n            \"items\": [\n                {\n                    \"item_id\": 6,\n                    \"sku\": \"24-WB03\",\n                    \"qty\": 1,\n                    \"name\": \"Driven Backpack\",\n                    \"price\": 36,\n                    \"product_type\": \"simple\",\n                    \"quote_id\": \"2\",\n                    \"calculation_price\": \"36\",\n                    \"request_price\": \"36.0000\",\n                    \"parent_item_id\": null\n                }\n            ]\n        },\n        {\n            \"entity_id\": \"3\",\n            \"store_id\": \"2\",\n            \"created_at\": \"2020-07-10 11:12:42\",\n            \"updated_at\": \"2020-07-10 11:13:46\",\n            \"expired_at\": null,\n            \"is_active\": \"1\",\n            \"is_sent_reminder\": \"0\",\n            \"status\": \"pending\",\n            \"items_count\": \"1\",\n            \"items_qty\": \"1.0000\",\n            \"customer_id\": \"1\",\n            \"customer_group_id\": \"1\",\n            \"customer_email\": \"roni_cost@example.com\",\n            \"remote_ip\": \"192.168.1.209\",\n            \"base_currency_code\": \"USD\",\n            \"quote_currency_code\": \"USD\",\n            \"subtotal\": \"36.0000\",\n            \"base_subtotal\": \"36.0000\",\n            \"items\": [\n                {\n                    \"item_id\": 8,\n                    \"sku\": \"24-WB03\",\n                    \"qty\": 1,\n                    \"name\": \"Driven Backpack\",\n                    \"price\": 36,\n                    \"product_type\": \"simple\",\n                    \"quote_id\": \"3\",\n                    \"calculation_price\": \"36\",\n                    \"request_price\": \"36.0000\",\n                    \"parent_item_id\": null\n                }\n            ]\n        },\n        {\n            \"entity_id\": \"5\",\n            \"store_id\": \"1\",\n            \"created_at\": \"2020-07-10 11:23:30\",\n            \"updated_at\": \"2020-07-13 01:57:41\",\n            \"expired_at\": null,\n            \"is_active\": \"1\",\n            \"is_sent_reminder\": \"0\",\n            \"status\": \"approved\",\n            \"items_count\": \"1\",\n            \"items_qty\": \"1.0000\",\n            \"customer_id\": \"1\",\n            \"customer_group_id\": \"1\",\n            \"customer_email\": \"roni_cost@example.com\",\n            \"remote_ip\": \"192.168.1.1\",\n            \"base_currency_code\": \"USD\",\n            \"quote_currency_code\": \"USD\",\n            \"subtotal\": \"77.0000\",\n            \"base_subtotal\": \"77.0000\",\n            \"items\": [\n                {\n                    \"item_id\": 11,\n                    \"sku\": \"WJ06-M-Purple\",\n                    \"qty\": 1,\n                    \"name\": \"Juno Jacket\",\n                    \"price\": 77,\n                    \"product_type\": \"configurable\",\n                    \"quote_id\": \"5\",\n                    \"calculation_price\": \"0\",\n                    \"request_price\": \"77.0000\",\n                    \"parent_item_id\": null\n                }\n            ]\n        },\n        {\n            \"entity_id\": \"6\",\n            \"store_id\": \"2\",\n            \"created_at\": \"2020-07-10 11:39:19\",\n            \"updated_at\": \"2020-07-13 01:57:41\",\n            \"expired_at\": null,\n            \"is_active\": \"1\",\n            \"is_sent_reminder\": \"0\",\n            \"status\": \"approved\",\n            \"items_count\": \"1\",\n            \"items_qty\": \"1.0000\",\n            \"customer_id\": \"1\",\n            \"customer_group_id\": \"1\",\n            \"customer_email\": \"roni_cost@example.com\",\n            \"remote_ip\": \"192.168.1.209\",\n            \"base_currency_code\": \"USD\",\n            \"quote_currency_code\": \"USD\",\n            \"subtotal\": \"36.0000\",\n            \"base_subtotal\": \"36.0000\",\n            \"items\": [\n                {\n                    \"item_id\": 13,\n                    \"sku\": \"24-WB03\",\n                    \"qty\": 1,\n                    \"name\": \"Driven Backpack\",\n                    \"price\": 36,\n                    \"product_type\": \"simple\",\n                    \"quote_id\": \"6\",\n                    \"calculation_price\": \"36\",\n                    \"request_price\": \"36.0000\",\n                    \"parent_item_id\": null\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"00e88c84-8779-4b51-b903-0cbdd0329f82"},{"name":"Get Quote by ID","id":"6c5f5f21-c51d-406a-a311-a20b7f575e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/get/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","get",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"6","key":"quoteId"}]}},"response":[{"id":"d9c747ee-c483-404c-a458-7249db014e8b","name":"Get Quote by ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/get/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","quote","get",":quoteId"],"variable":[{"key":"quoteId","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 02:25:53 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 03:25:53 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"628"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity_id\": \"6\",\n    \"store_id\": \"2\",\n    \"created_at\": \"2020-07-10 11:39:19\",\n    \"updated_at\": \"2020-07-13 01:57:41\",\n    \"expired_at\": null,\n    \"is_active\": \"1\",\n    \"is_sent_reminder\": \"0\",\n    \"status\": \"approved\",\n    \"items_count\": \"1\",\n    \"items_qty\": \"1.0000\",\n    \"customer_id\": \"1\",\n    \"customer_group_id\": \"1\",\n    \"customer_email\": \"roni_cost@example.com\",\n    \"remote_ip\": \"192.168.1.209\",\n    \"base_currency_code\": \"USD\",\n    \"quote_currency_code\": \"USD\",\n    \"subtotal\": \"36.0000\",\n    \"base_subtotal\": \"36.0000\",\n    \"items\": [\n        {\n            \"item_id\": 13,\n            \"sku\": \"24-WB03\",\n            \"qty\": 1,\n            \"name\": \"Driven Backpack\",\n            \"price\": 36,\n            \"product_type\": \"simple\",\n            \"quote_id\": \"6\",\n            \"calculation_price\": \"36\",\n            \"request_price\": \"36.0000\",\n            \"parent_item_id\": null\n        }\n    ]\n}"}],"_postman_id":"6c5f5f21-c51d-406a-a311-a20b7f575e7f"},{"name":"Get Conversation","id":"f50bee3a-67c2-4356-b7a3-205c634991ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/conversation/:quoteId","urlObject":{"path":["rest","V1","mpRequestForQuote","customer","reply","conversation",":quoteId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"6","key":"quoteId"}]}},"response":[{"id":"60d09649-c922-4247-8525-be08c5e0da9b","name":"Get Conversation Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpRequestForQuote/customer/reply/conversation/:quoteId","host":["{{magento_base_url}}"],"path":["rest","V1","mpRequestForQuote","customer","reply","conversation",":quoteId"],"variable":[{"key":"quoteId","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Jul 2020 02:25:25 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ggevd6mkn6b8jpt0ql6m7vm8rb; expires=Mon, 13-Jul-2020 03:25:25 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"640"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"reply_id\": \"1\",\n            \"quote_id\": \"6\",\n            \"is_customer_notified\": \"0\",\n            \"is_visible_on_front\": \"1\",\n            \"author_name\": \"Veronica Costello\",\n            \"type\": \"2\",\n            \"content\": null,\n            \"files\": \"[]\",\n            \"created_at\": \"2020-07-13 01:55:07\"\n        },\n        {\n            \"reply_id\": \"2\",\n            \"quote_id\": \"6\",\n            \"is_customer_notified\": \"0\",\n            \"is_visible_on_front\": \"1\",\n            \"author_name\": \"Veronica Costello\",\n            \"type\": \"2\",\n            \"content\": \"mageplaza tester\",\n            \"files\": \"[{\\\"file_id\\\":\\\"1594375076654_654\\\",\\\"file\\\":\\\"\\\\/m\\\\/a\\\\/mageplaza.jpg\\\",\\\"location\\\":\\\"mageplaza\\\\/requestforquote\\\\/tmp\\\\/m\\\\/a\\\\/mageplaza.jpg\\\",\\\"name\\\":\\\"mageplaza.jpg\\\",\\\"size\\\":\\\"29657\\\",\\\"type\\\":\\\"image\\\\/jpeg\\\"}]\",\n            \"created_at\": \"2020-07-13 01:56:38\"\n        }\n    ]\n}"}],"_postman_id":"f50bee3a-67c2-4356-b7a3-205c634991ae"},{"name":"Get Config Info","id":"a1327900-5d00-4223-9639-47665e630104","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/getConfig","urlObject":{"path":["rest","V1","mpRequestForQuote","quote","getConfig"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5108a544-a194-4db5-b245-de0a54984c79","name":"Get Config Info Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpRequestForQuote/quote/getConfig"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Dec 2020 03:29:42 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=rv3gpiero68q1j3loeeqq6uku8; expires=Tue, 29-Dec-2020 04:29:43 GMT; Max-Age=3600; path=/api/ce236; domain=s100.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"358"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"icon_url\": \"http://s100.mageplaza.vn:81/api/ce236/pub/static/version1609212355/frontend/Magento/luma/en_US/Mageplaza_RequestForQuote/media/default-icon.svg\",\n    \"allow_category\": \"specific\",\n    \"category\": \"4,6,2\",\n    \"customer_groups\": \"1,2,3\",\n    \"is_allow_guest\": false,\n    \"is_allow_attach\": true,\n    \"file_type\": \"png,pdf,jpg,jpeg,doc,zip\",\n    \"redirect_page\": \"view_cart\"\n}"}],"_postman_id":"a1327900-5d00-4223-9639-47665e630104"}],"event":[{"listen":"prerequest","script":{"id":"cc4aea98-0140-4917-b4e6-53b504f00e68","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9ebefa2f-bfc5-4e65-b0be-90b092da0add","type":"text/javascript","exec":[""]}}]}