{"info":{"_postman_id":"d738b491-b5ca-4bc1-ae13-c480b43c3100","name":"Magento 2 Loyalty Program 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":"d738b491-b5ca-4bc1-ae13-c480b43c3100","publishedId":"T1DmEepF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-21T09:23:01.000Z"},"item":[{"name":"Get Loyalty Program List","id":"bdec13c6-dc32-400f-bace-482a2410a3ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs?searchCriteria[filter_groups][0][filters][0][field]=program_id&searchCriteria[filter_groups][0][filters][0][value]=2&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpLoyalty","programs"],"host":["{{magento_base_url}}"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"program_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"306f0dac-6cd5-4336-a955-3bcdc090d25b","name":"Get Loyalty Program List  Example ","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpLoyalty/programs?searchCriteria[filter_groups][0][filters][0][field]=program_id&searchCriteria[filter_groups][0][filters][0][value]=1&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}"],"path":["rest","V1","mpLoyalty","programs"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"program_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 07:30:26 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 08:30:26 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"405"},{"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            \"program_id\": 1,\n            \"program_name\": \"Program create by api\",\n            \"is_active\": 0,\n            \"duration_unit\": \"day\",\n            \"duration_no\": 10,\n            \"description\": \"<p>test 123</p>\\r\\n<p><strong>Program Loy</strong></p>\",\n            \"priority\": \"10\",\n            \"updated_at\": \"2020-07-21 07:29:38\",\n            \"created_at\": \"2020-07-21 07:28:04\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"program_id\",\n                        \"value\": \"1\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"bdec13c6-dc32-400f-bace-482a2410a3ce"},{"name":"Create/Update Loyalty Program","id":"c7f806c6-d112-4354-9029-cf4d9db0ed60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"program\": {\r\n        \"program_name\": \"Program create by api\",\r\n        \"is_active\": 0,\r\n        \"duration_unit\": \"day\",\r\n        \"duration_no\": 10,\r\n        \"description\": \"<p>Program Loyalty</p>\",\r\n        \"priority\": \"10\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs","description":"<p>To update the program, please add \"program_id\" field in body section, see example</p>\n","urlObject":{"path":["rest","V1","mpLoyalty","programs"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bf035618-eb11-4330-9442-84da8358af5d","name":"Update Loyalty Program","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"program\": {\r\n        \"program_id\": 1,\r\n        \"program_name\": \"Program create by api\",\r\n        \"is_active\": 0,\r\n        \"duration_unit\": \"day\",\r\n        \"duration_no\": 10,\r\n        \"description\": \"<p>test 123</p>\\r\\n<p><strong>Program Loy</strong></p>\",\r\n        \"priority\": \"10\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 07:29:38 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 08:29:38 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"268"},{"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    \"program_id\": 1,\n    \"program_name\": \"Program create by api\",\n    \"is_active\": 0,\n    \"duration_unit\": \"day\",\n    \"duration_no\": 10,\n    \"description\": \"<p>test 123</p>\\r\\n<p><strong>Program Loy</strong></p>\",\n    \"priority\": \"10\",\n    \"updated_at\": \"2020-07-21 07:29:38\",\n    \"created_at\": \"2020-07-21 07:28:04\"\n}"},{"id":"d90e55f7-16e9-4107-8647-e2eff5b8e594","name":"Create Loyalty Program","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"program\": {\r\n        \"program_name\": \"Program create by api 1\",\r\n        \"is_active\": 0,\r\n        \"duration_unit\": \"day\",\r\n        \"duration_no\": 10,\r\n        \"description\": \"<p>test 123</p>\\r\\n<p><strong>Program Loy</strong></p>\",\r\n        \"priority\": \"10\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 07:28:03 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 08:28:04 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"270"},{"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    \"program_id\": 1,\n    \"program_name\": \"Program create by api 1\",\n    \"is_active\": 0,\n    \"duration_unit\": \"day\",\n    \"duration_no\": 10,\n    \"description\": \"<p>test 123</p>\\r\\n<p><strong>Program Loy</strong></p>\",\n    \"priority\": \"10\",\n    \"updated_at\": \"2020-07-21 07:28:04\",\n    \"created_at\": \"2020-07-21 07:28:04\"\n}"}],"_postman_id":"c7f806c6-d112-4354-9029-cf4d9db0ed60"},{"name":"Add Customer to Loyalty Program","id":"03311178-0023-4f8a-b60d-40fb00bb9b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs/customer/add/:programId?customers=roni_cost@example.com","description":"<p>You can add multiple customers by filling in the <strong>customers</strong> field in Params, emails are seperated from each other by a comma \",\"</p>\n","urlObject":{"path":["rest","V1","mpLoyalty","programs","customer","add",":programId"],"host":["{{magento_base_url}}"],"query":[{"key":"customers","value":"roni_cost@example.com"}],"variable":[{"type":"string","value":"2","key":"programId"}]}},"response":[{"id":"95ce55ca-7667-46ce-8ffb-f6a23cab0613","name":"Add Customer Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpLoyalty/programs/customer/add/:programId?customers=roni_cost@example.com,quynhtest@gmail.com","host":["{{magento_base_url}}"],"path":["rest","V1","mpLoyalty","programs","customer","add",":programId"],"query":[{"key":"customers","value":"roni_cost@example.com,quynhtest@gmail.com"}],"variable":[{"key":"programId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 07:34:57 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 08:34:57 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":"03311178-0023-4f8a-b60d-40fb00bb9b1b"},{"name":"Get Customer's Loyalty Program Info","id":"392aaa26-e61c-4229-aec4-3a151db93582","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpLoyalty/customers/","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpLoyalty","customers",""],"host":["{{magento_base_url}}"],"query":[{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"customer_id"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"33eb3b41-7031-4c5d-9df3-9ff324e9b36e","name":"Get Customer Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpLoyalty/customers/?searchCriteria[filter_groups][0][filters][0][field]=customer_id&searchCriteria[filter_groups][0][filters][0][value]=1&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}"],"path":["rest","V1","mpLoyalty","customers",""],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"customer_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 07:39:34 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 08:39:34 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"395"},{"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            \"customer_id\": 1,\n            \"customer_name\": \"Veronica Costello\",\n            \"email\": \"roni_cost@example.com\",\n            \"program_name\": \"Program create by api\",\n            \"mp_program_start_at\": \"2020-07-21 07:38:11\",\n            \"mp_program_manually\": \"1\",\n            \"mp_program_email\": 1,\n            \"expired_date\": \"Jul 31, 2020, 7:38:11 AM\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"customer_id\",\n                        \"value\": \"1\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"392aaa26-e61c-4229-aec4-3a151db93582"},{"name":"Delete Loyalty Program","id":"5956dc7b-f5f1-4fc0-8b40-96bccbb9939f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpLoyalty/programs/:programId","urlObject":{"path":["rest","V1","mpLoyalty","programs",":programId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"3","key":"programId"}]}},"response":[{"id":"649b0c1b-997a-4fb5-9cf3-08935b62c771","name":"Delete Program Example","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpLoyalty/programs/:programId","host":["{{magento_base_url}}"],"path":["rest","V1","mpLoyalty","programs",":programId"],"variable":[{"key":"programId","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 08:35: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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 09:35:53 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":"5956dc7b-f5f1-4fc0-8b40-96bccbb9939f"},{"name":"Get Customer's Loyalty Program Dashboard","id":"c9f5fd67-b38f-4789-bead-94bf7cd08e28","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/mpLoyalty/mine/dashboard","urlObject":{"path":["rest","V1","mpLoyalty","mine","dashboard"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cc1b946f-1e13-486e-a8ca-b96fb6d96076","name":"Get Dashboard of Customer 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/mpLoyalty/mine/dashboard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jul 2020 08:37:01 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=pikfuube7eubkgr5h1buq4nt13; expires=Tue, 21-Jul-2020 09:37:02 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1663"},{"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    \"benefit\": \"<div>\\n                <p>\\n                    <span>Welcome to the loyalty program for our customers at our store.</span><br/>\\n                    <span>When you become our customer, all the time and money that you spend on our website will \\n                    give you special offers/discounts. Stay in our website and start shopping now.</span>\\n                </p>\\n                <p>\\n                    <strong>Loyalty Program Name</strong><br/>\\n                    <span>- You can receive a certain discount for each product or an order</span><br/>\\n                    <span>- You can also get special coupon codes to apply to certain cart</span><br/>\\n                </p>\\n        </div>\",\n    \"statistics\": {\n        \"program_name\": \"Program create by api\",\n        \"description\": \"<p>Program Loyalty</p>\",\n        \"is_email_enabled\": 1,\n        \"is_enable_email_notify\": 0,\n        \"to\": \"Jul 31, 2020\",\n        \"cols\": [\n            {\n                \"name\": \"Name\"\n            },\n            {\n                \"name\": \"Day\",\n                \"duration\": \"day\",\n                \"start\": \"\",\n                \"end\": \"\"\n            },\n            {\n                \"name\": \"Month\",\n                \"duration\": \"month\",\n                \"start\": \"\",\n                \"end\": \"\"\n            },\n            {\n                \"name\": \"Year\",\n                \"duration\": \"year\",\n                \"start\": \"\",\n                \"end\": \"\"\n            }\n        ],\n        \"rows\": [\n            {\n                \"row\": [\n                    {\n                        \"name\": \"Number of Orders\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"name\": \"Number of Orders\",\n                        \"value\": \"25\"\n                    },\n                    {\n                        \"name\": \"Number of Orders\",\n                        \"value\": \"25\"\n                    },\n                    {\n                        \"name\": \"Number of Orders\",\n                        \"value\": \"25\"\n                    }\n                ]\n            },\n            {\n                \"row\": [\n                    {\n                        \"name\": \"Total Order Amount\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"name\": \"Total Order Amount\",\n                        \"value\": \"$1,911.75\"\n                    },\n                    {\n                        \"name\": \"Total Order Amount\",\n                        \"value\": \"$1,911.75\"\n                    },\n                    {\n                        \"name\": \"Total Order Amount\",\n                        \"value\": \"$1,911.75\"\n                    }\n                ]\n            },\n            {\n                \"row\": [\n                    {\n                        \"name\": \"Average Order Amount\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"name\": \"Average Order Amount\",\n                        \"value\": \"$76.47\"\n                    },\n                    {\n                        \"name\": \"Average Order Amount\",\n                        \"value\": \"$76.47\"\n                    },\n                    {\n                        \"name\": \"Average Order Amount\",\n                        \"value\": \"$76.47\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"c9f5fd67-b38f-4789-bead-94bf7cd08e28"},{"name":"Customer Change Email Notify","id":"69909b0f-31ae-46a1-9237-e85f47afc620","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":"status","value":"1","type":"text"}]},"url":"{{magento_base_url}}/rest/V1/mpLoyalty/mine/notifications","urlObject":{"path":["rest","V1","mpLoyalty","mine","notifications"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3429108e-b6e8-43c4-b96f-0add24b6871d","name":"Customer Change Email Notify 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":"status","value":"1","type":"text"}]},"url":"{{magento_base_url}}/rest/V1/mpLoyalty/mine/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Jul 2020 07:21:48 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=9v1ibjr7odnd1pbt7gcnad4pr0; expires=Tue, 28-Jul-2020 08:21:48 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; 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":"795133"},{"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":"69909b0f-31ae-46a1-9237-e85f47afc620"}],"event":[{"listen":"prerequest","script":{"id":"6e041e33-9357-4919-918d-7333a2d92ea7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f44f8ec8-c61d-4cd3-b997-8608cc117410","type":"text/javascript","exec":[""]}}]}