{"info":{"_postman_id":"08f6666a-0c4c-442c-b653-a1eb66726ff1","name":"Magento 2 Free Shipping Bar API & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"08f6666a-0c4c-442c-b653-a1eb66726ff1","publishedId":"TVCY7CNb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-25T10:46:07.000Z"},"item":[{"name":"Get Free Shipping Bar List","id":"693ac0e4-19c4-4834-b2ce-8b8f9ef13d8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/list?searchCriteria[filter_groups][0][filters][0][field]=rule_id&searchCriteria[filter_groups][0][filters][0][value]=3&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","urlObject":{"path":["rest","V1","mpFreeShippingBar","list"],"host":["{{magento_base_url}}"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"3"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"2d08700a-bad1-48a1-a028-e778b64e5634","name":"Get Free Shipping Bar List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/list?searchCriteria[filter_groups][0][filters][0][field]=rule_id&searchCriteria[filter_groups][0][filters][0][value]=3&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}"],"path":["rest","V1","mpFreeShippingBar","list"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"3"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 04:57:05 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=12ekqlhasdr81dk5d4vjk18sov; expires=Fri, 28-Aug-2020 05:57:05 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1153"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"623945"},{"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    \"items\": [\n        {\n            \"rule_id\": 3,\n            \"name\": \"Order Free Shipping\",\n            \"status\": 1,\n            \"priority\": 0,\n            \"created_at\": \"2020-08-28 04:53:44\",\n            \"from_date\": \"2020-08-27 00:00:00\",\n            \"to_date\": null,\n            \"updated_at\": \"2020-08-28 04:57:03\",\n            \"store_id\": \"0\",\n            \"customer_group_id\": \"0,1,2,3\",\n            \"goal\": 150,\n            \"first_message\": \"Free Shipping for order over {{goal}}\",\n            \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\n            \"achieve_message\": \"Congrats! You have got free shipping\",\n            \"click_able\": 1,\n            \"url_shippingbar\": \"https://www.mageplaza.com/\",\n            \"open_new_page\": 1,\n            \"template\": \"0\",\n            \"bar_background\": \"#0099e5\",\n            \"bar_opacity\": 1,\n            \"bar_text_color\": \"#FFFFFF\",\n            \"bar_link_color\": \"#F5FF0F\",\n            \"goal_text_color\": \"#F5FF0F\",\n            \"image\": \"f/r/free.jpg\",\n            \"string_font_connect\": \"Roboto\",\n            \"font_text\": \"Roboto\",\n            \"font_size\": 14,\n            \"position\": \"top_page\",\n            \"allowshow\": \"all_pages\",\n            \"include_pages\": null,\n            \"include_pages_url_contain\": null,\n            \"exclude_pages\": null,\n            \"exclude_pages_url_contain\": null,\n            \"image_background_url\": \"http://dev.mageplaza.vn/api/api5/pub/media/mageplaza/freeshippingbar/background/f/r/free.jpg\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"rule_id\",\n                        \"value\": \"3\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"693ac0e4-19c4-4834-b2ce-8b8f9ef13d8c"},{"name":"Create/Update Free Shipping Bar","id":"64ff0369-2388-417f-8e39-47426c4dd4ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"shippingBar[name]","value":"Order Free Shipping","type":"text"},{"key":"image","type":"file","src":"/C:/Users/Admin/Pictures/Camera Roll/gold-label-best-seller-vector-eps-vector_csp37825288.jpg"},{"key":"shippingBar[store_id]","value":"0","type":"text"},{"key":"shippingBar[rule_id]","value":"6","type":"text"}]},"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/save","urlObject":{"path":["rest","V1","mpFreeShippingBar","save"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"28839f80-7ee7-4056-a45b-129870e6283a","name":"Update Free Shipping Bar","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"shippingBar[name]","value":"Order Free Shipping","type":"text"},{"key":"image","type":"file","src":"/C:/Users/Admin/Pictures/Camera Roll/gold-label-best-seller-vector-eps-vector_csp37825288.jpg"},{"key":"shippingBar[store_id]","value":"0","type":"text"},{"key":"shippingBar[rule_id]","value":"6","type":"text"}]},"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/save"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Aug 2020 10:37:05 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=nuatt1f5k8en1jhj0ailah8ku8; expires=Tue, 25-Aug-2020 11:37:05 GMT; Max-Age=3600; path=/maianh/ce235d; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"982"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"337058"},{"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    \"rule_id\": 6,\n    \"name\": \"Order Free Shipping\",\n    \"status\": 1,\n    \"priority\": 0,\n    \"created_at\": \"2020-08-12 02:08:29\",\n    \"from_date\": \"2020-08-06 00:00:00\",\n    \"to_date\": \"2020-08-26 00:00:00\",\n    \"updated_at\": \"2020-08-25 10:37:05\",\n    \"store_id\": \"0\",\n    \"customer_group_id\": \"0,1,2,3\",\n    \"goal\": 200,\n    \"first_message\": \"Free Shipping for order over {{goal}}\",\n    \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\n    \"achieve_message\": \"Congrats! You have got free shipping\",\n    \"click_able\": 1,\n    \"url_shippingbar\": \"https://www.mageplaza.com/\",\n    \"open_new_page\": 1,\n    \"template\": \"6\",\n    \"bar_background\": \"#1EC20E\",\n    \"bar_opacity\": 1,\n    \"bar_text_color\": \"#F5FF0F\",\n    \"bar_link_color\": \"#F5FF0F\",\n    \"goal_text_color\": \"#FFFFFF\",\n    \"image\": \"g/o/gold-label-best-seller-vector-eps-vector_csp37825288.jpg\",\n    \"string_font_connect\": \"Ubuntu\",\n    \"font_text\": \"Ubuntu\",\n    \"font_size\": 16,\n    \"position\": \"top_page\",\n    \"allowshow\": \"all_pages\",\n    \"include_pages\": null,\n    \"include_pages_url_contain\": null,\n    \"exclude_pages\": null,\n    \"exclude_pages_url_contain\": null,\n    \"image_background_url\": null\n}"},{"id":"990ce7ab-d22c-4a94-8f73-eed76a000587","name":"Create Free Shipping Bar","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"shippingBar\": \r\n    {\r\n    \"name\": \"Shipping\",\r\n    \"status\": 1,\r\n    \"priority\": 1,\r\n    \"from_date\": \"2020-07-30 00:00:00\",\r\n    \"to_date\": \"2020-08-30 00:00:00\",\r\n    \"store_id\": \"0\",\r\n    \"customer_group_id\": \"0,1,2,3\",\r\n    \"goal\": 200,\r\n    \"first_message\": \"Free Shipping for order over {{goal}}\",\r\n    \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\r\n    \"achieve_message\": \"Congrats! You have got free shipping\",\r\n    \"click_able\": 1,\r\n    \"url_shippingbar\": \"https://www.mageplaza.com\",\r\n    \"open_new_page\": 1,\r\n    \"template\": \"1\",\r\n    \"bar_background\": \"#0099e5\",\r\n    \"bar_opacity\": 0,\r\n    \"bar_text_color\": \"#FFFFFF\",\r\n    \"bar_link_color\": \"#F5FF0F\",\r\n    \"goal_text_color\": \"#F5FF0F\",\r\n    \"image\": null,\r\n    \"string_font_connect\": \"Roboto\",\r\n    \"font_text\": \"Ubuntu\",\r\n    \"font_size\": 15,\r\n    \"position\": \"top_page\",\r\n    \"allowshow\": \"all_pages\",\r\n    \"include_pages\": null,\r\n    \"include_pages_url_contain\": null,\r\n    \"exclude_pages\": null,\r\n    \"exclude_pages_url_contain\": null,\r\n    \"image_background_url\": null\r\n    }\r\n}"},"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/save"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Aug 2020 10:02:34 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=nuatt1f5k8en1jhj0ailah8ku8; expires=Tue, 25-Aug-2020 11:02:34 GMT; Max-Age=3600; path=/maianh/ce235d; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"910"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"763235"},{"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    \"rule_id\": 20,\n    \"name\": \"Shipping\",\n    \"status\": 1,\n    \"priority\": 1,\n    \"created_at\": \"2020-08-25 10:02:34\",\n    \"from_date\": \"2020-07-30 00:00:00\",\n    \"to_date\": \"2020-08-30 00:00:00\",\n    \"updated_at\": \"2020-08-25 10:02:34\",\n    \"store_id\": \"0\",\n    \"customer_group_id\": \"0,1,2,3\",\n    \"goal\": 200,\n    \"first_message\": \"Free Shipping for order over {{goal}}\",\n    \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\n    \"achieve_message\": \"Congrats! You have got free shipping\",\n    \"click_able\": 1,\n    \"url_shippingbar\": \"https://www.mageplaza.com\",\n    \"open_new_page\": 1,\n    \"template\": \"1\",\n    \"bar_background\": \"#0099e5\",\n    \"bar_opacity\": 0,\n    \"bar_text_color\": \"#FFFFFF\",\n    \"bar_link_color\": \"#F5FF0F\",\n    \"goal_text_color\": \"#F5FF0F\",\n    \"image\": null,\n    \"string_font_connect\": \"Ubuntu\",\n    \"font_text\": \"Ubuntu\",\n    \"font_size\": 15,\n    \"position\": \"top_page\",\n    \"allowshow\": \"all_pages\",\n    \"include_pages\": null,\n    \"include_pages_url_contain\": null,\n    \"exclude_pages\": null,\n    \"exclude_pages_url_contain\": null,\n    \"image_background_url\": null\n}"}],"_postman_id":"64ff0369-2388-417f-8e39-47426c4dd4ec"},{"name":"Customer Token","id":"887674fb-7cdd-46d5-87b3-f5aed3bd67ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Admin/Pictures/Camera Roll/download (1).jpg"},{"key":"shippingBar[rule_id]","type":"text","value":"3"},{"key":"shippingBar[name]","type":"text","value":"Free"},{"key":"shippingBar[store_id]","type":"text","value":"0,1,2"}]},"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/save","urlObject":{"path":["rest","V1","mpFreeShippingBar","save"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"887674fb-7cdd-46d5-87b3-f5aed3bd67ce"},{"name":"Delete Free Shipping Bar","id":"f0e8ff79-8ec0-4bca-bb71-6f237410e17f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest//V1/mpFreeShippingBar/delete/:id","urlObject":{"path":["rest","","V1","mpFreeShippingBar","delete",":id"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"d36cecb7-0fcd-483b-9a5a-e46771b7a1c3","name":"Delete Free Shipping Bar Example","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest//V1/mpFreeShippingBar/delete/:id","host":["{{magento_base_url}}"],"path":["rest","","V1","mpFreeShippingBar","delete",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 12 Aug 2020 02:01:26 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=t0ioi2c3i0bsaikt7h0kpagckm; expires=Wed, 12-Aug-2020 03:01:26 GMT; Max-Age=3600; path=/maianh/ce235d; 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":"32774"},{"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":"f0e8ff79-8ec0-4bca-bb71-6f237410e17f"},{"name":"Get Free Shipping Bar Guest","id":"8045647c-8f2c-4a28-ad5d-eb42bc90927c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"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/mpFreeShippingBar/guest/shippingbar","urlObject":{"path":["rest","V1","mpFreeShippingBar","guest","shippingbar"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b9358383-0f99-4fe8-b729-576a031e3a6b","name":"Get Free Shipping Bar Guest Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text","disabled":true}],"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/guest/shippingbar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 04:57:53 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=12ekqlhasdr81dk5d4vjk18sov; expires=Fri, 28-Aug-2020 05:57:54 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1021"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"528153"},{"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        \"rule_id\": 3,\n        \"name\": \"Order Free Shipping\",\n        \"status\": 1,\n        \"priority\": 0,\n        \"created_at\": \"2020-08-28 04:53:44\",\n        \"from_date\": \"2020-08-27 00:00:00\",\n        \"to_date\": null,\n        \"updated_at\": \"2020-08-28 04:57:03\",\n        \"store_id\": \"0\",\n        \"customer_group_id\": \"0,1,2,3\",\n        \"goal\": 150,\n        \"first_message\": \"Free Shipping for order over {{goal}}\",\n        \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\n        \"achieve_message\": \"Congrats! You have got free shipping\",\n        \"click_able\": 1,\n        \"url_shippingbar\": \"https://www.mageplaza.com/\",\n        \"open_new_page\": 1,\n        \"template\": \"0\",\n        \"bar_background\": \"#0099e5\",\n        \"bar_opacity\": 1,\n        \"bar_text_color\": \"#FFFFFF\",\n        \"bar_link_color\": \"#F5FF0F\",\n        \"goal_text_color\": \"#F5FF0F\",\n        \"image\": \"f/r/free.jpg\",\n        \"string_font_connect\": \"Roboto\",\n        \"font_text\": \"Roboto\",\n        \"font_size\": 14,\n        \"position\": \"top_page\",\n        \"allowshow\": \"all_pages\",\n        \"include_pages\": null,\n        \"include_pages_url_contain\": null,\n        \"exclude_pages\": null,\n        \"exclude_pages_url_contain\": null,\n        \"image_background_url\": \"http://dev.mageplaza.vn/api/api5/pub/media/mageplaza/freeshippingbar/background/f/r/free.jpg\"\n    }\n]"}],"_postman_id":"8045647c-8f2c-4a28-ad5d-eb42bc90927c"},{"name":"Get Free Shipping Bar Customer","id":"cb5e15af-0008-415d-ae8c-2570933ce9bc","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/mpFreeShippingBar/mine/shippingbar","urlObject":{"path":["rest","V1","mpFreeShippingBar","mine","shippingbar"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"afb0d315-a336-42fb-9bda-6b8882091c35","name":"Get Free Shipping Bar Customer 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/mpFreeShippingBar/mine/shippingbar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 04:59:49 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=12ekqlhasdr81dk5d4vjk18sov; expires=Fri, 28-Aug-2020 05:59:49 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1021"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"528156"},{"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        \"rule_id\": 3,\n        \"name\": \"Order Free Shipping\",\n        \"status\": 1,\n        \"priority\": 0,\n        \"created_at\": \"2020-08-28 04:53:44\",\n        \"from_date\": \"2020-08-27 00:00:00\",\n        \"to_date\": null,\n        \"updated_at\": \"2020-08-28 04:57:03\",\n        \"store_id\": \"0\",\n        \"customer_group_id\": \"0,1,2,3\",\n        \"goal\": 150,\n        \"first_message\": \"Free Shipping for order over {{goal}}\",\n        \"below_goal_message\": \"Only {{below_goal}} away for free shipping\",\n        \"achieve_message\": \"Congrats! You have got free shipping\",\n        \"click_able\": 1,\n        \"url_shippingbar\": \"https://www.mageplaza.com/\",\n        \"open_new_page\": 1,\n        \"template\": \"0\",\n        \"bar_background\": \"#0099e5\",\n        \"bar_opacity\": 1,\n        \"bar_text_color\": \"#FFFFFF\",\n        \"bar_link_color\": \"#F5FF0F\",\n        \"goal_text_color\": \"#F5FF0F\",\n        \"image\": \"f/r/free.jpg\",\n        \"string_font_connect\": \"Roboto\",\n        \"font_text\": \"Roboto\",\n        \"font_size\": 14,\n        \"position\": \"top_page\",\n        \"allowshow\": \"all_pages\",\n        \"include_pages\": null,\n        \"include_pages_url_contain\": null,\n        \"exclude_pages\": null,\n        \"exclude_pages_url_contain\": null,\n        \"image_background_url\": \"http://dev.mageplaza.vn/api/api5/pub/media/mageplaza/freeshippingbar/background/f/r/free.jpg\"\n    }\n]"}],"_postman_id":"cb5e15af-0008-415d-ae8c-2570933ce9bc"},{"name":"Get Free Shipping Bar Config","id":"11dad148-3419-46bc-9f93-e32ed8907ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/config","urlObject":{"path":["rest","V1","mpFreeShippingBar","config"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"f816edbd-cecb-41ab-b7ed-7b9b0ff97a9f","name":"Get Free Shipping Bar Config Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}","disabled":true}],"url":"{{magento_base_url}}/rest/V1/mpFreeShippingBar/config"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Aug 2020 03:32:20 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=2gbl27gacq6m4pge2cv4i40bor; expires=Tue, 11-Aug-2020 04:32:21 GMT; Max-Age=3600; path=/maianh/ce235d; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"160"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"98349"},{"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    \"price_format\": {\n        \"pattern\": \"$%s\",\n        \"precision\": 2,\n        \"required_precision\": null,\n        \"decimal_symbol\": null,\n        \"group_symbol\": null,\n        \"group_length\": null,\n        \"integer_required\": null\n    }\n}"}],"_postman_id":"11dad148-3419-46bc-9f93-e32ed8907ad9"}]}