{"info":{"_postman_id":"611fcabe-a868-49d2-80ec-37e6f9b98763","name":"Reward Points","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"611fcabe-a868-49d2-80ec-37e6f9b98763","publishedId":"SzRyzpwz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-11T07:26:51.000Z"},"item":[{"name":"GET Transaction by Customer ID","id":"b74eb8b5-6c2a-4fdf-b329-152de2977db2","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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/mine/transactions","urlObject":{"path":["V1","mpReward","mine","transactions"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"ba7d9dbb-97d3-4fab-891e-1b0b9b1afe15","name":"GET Transaction by Customer ID 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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/mine/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:41:22 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:41:26 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1896"},{"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            \"transaction_id\": 6,\n            \"reward_id\": 1,\n            \"customer_id\": 1,\n            \"action_code\": \"referral_earning\",\n            \"action_type\": \"1\",\n            \"store_id\": 1,\n            \"point_amount\": 1,\n            \"point_remaining\": 1,\n            \"point_used\": 1,\n            \"status\": 2,\n            \"order_id\": 12,\n            \"created_at\": \"2019-12-31 02:58:09\",\n            \"expiration_date\": \"2019-12-31 02:58:09\",\n            \"expire_email_sent\": \"0\",\n            \"extra_content\": \"{\\\"increment_id\\\":\\\"000000012\\\"}\",\n            \"comment\": \"Earned points for referral friend purchased order #000000012\"\n        },\n        {\n            \"transaction_id\": 9,\n            \"reward_id\": 1,\n            \"customer_id\": 1,\n            \"action_code\": \"spending_order\",\n            \"action_type\": \"2\",\n            \"store_id\": 1,\n            \"point_amount\": -1,\n            \"point_remaining\": 0,\n            \"point_used\": 0,\n            \"status\": 2,\n            \"order_id\": 16,\n            \"created_at\": \"2020-01-15 08:10:32\",\n            \"expiration_date\": null,\n            \"expire_email_sent\": \"0\",\n            \"extra_content\": \"{\\\"increment_id\\\":\\\"000000016\\\"}\",\n            \"comment\": \"Spend points for purchasing order #000000016\"\n        },\n        {\n            \"transaction_id\": 26,\n            \"reward_id\": 1,\n            \"customer_id\": 1,\n            \"action_code\": \"admin\",\n            \"action_type\": \"4\",\n            \"store_id\": 1,\n            \"point_amount\": 5000,\n            \"point_remaining\": 5000,\n            \"point_used\": 10,\n            \"status\": 2,\n            \"order_id\": 0,\n            \"created_at\": \"2020-02-14 07:01:22\",\n            \"expiration_date\": null,\n            \"expire_email_sent\": \"0\",\n            \"extra_content\": \"{\\\"admin_id\\\":1}\",\n            \"comment\": \"Updated by Admin\"\n        },\n        {\n            \"transaction_id\": 27,\n            \"reward_id\": 1,\n            \"customer_id\": 1,\n            \"action_code\": \"admin\",\n            \"action_type\": \"4\",\n            \"store_id\": 1,\n            \"point_amount\": 3000,\n            \"point_remaining\": 3000,\n            \"point_used\": 0,\n            \"status\": 2,\n            \"order_id\": 0,\n            \"created_at\": \"2020-02-14 07:38:23\",\n            \"expiration_date\": null,\n            \"expire_email_sent\": \"0\",\n            \"extra_content\": \"{\\\"admin_id\\\":1}\",\n            \"comment\": \"Updated by Admin\"\n        },\n        {\n            \"transaction_id\": 30,\n            \"reward_id\": 1,\n            \"customer_id\": 1,\n            \"action_code\": \"spending_order\",\n            \"action_type\": \"2\",\n            \"store_id\": 1,\n            \"point_amount\": -10,\n            \"point_remaining\": 0,\n            \"point_used\": 0,\n            \"status\": 2,\n            \"order_id\": 40,\n            \"created_at\": \"2020-02-19 08:03:57\",\n            \"expiration_date\": null,\n            \"expire_email_sent\": \"0\",\n            \"extra_content\": \"{\\\"increment_id\\\":\\\"000000041\\\"}\",\n            \"comment\": \"Spend points for purchasing order #000000041\"\n        }\n    ],\n    \"search_criteria\": null,\n    \"total_count\": 5\n}"}],"_postman_id":"b74eb8b5-6c2a-4fdf-b329-152de2977db2"},{"name":"GET Account by Customer ID","id":"634a43df-cf16-45f4-98d3-d5565f0bdc40","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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/mine/account","urlObject":{"path":["V1","mpReward","mine","account"],"host":["{{magento_base_url}}rest"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"ce230c48-405f-4e7a-9fea-0849a87f9976","name":"GET Account by Customer ID 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 {{customer_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/mine/account","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","mine","account"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jan 2020 08:24:38 GMT"},{"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=eiosg1c8sfquggd0sdkmr6vkct; expires=Tue, 21-Jan-2020 09:24:38 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Tue, 21-Jan-2020 09:24:38 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"135"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"reward_id\": 1,\n    \"customer_id\": 1,\n    \"point_balance\": 0,\n    \"point_spent\": 1,\n    \"point_earning\": 1,\n    \"notification_update\": \"1\",\n    \"notification_expire\": \"1\"\n}"}],"_postman_id":"634a43df-cf16-45f4-98d3-d5565f0bdc40"},{"name":"GET Referral by Customer ID","id":"e5623dbf-058d-4f7c-aae7-a3f0e37fb01e","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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/mine/invitations?searchCriteria","urlObject":{"path":["V1","mpReward","mine","invitations"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria","value":""}],"variable":[]}},"response":[{"id":"8663f075-4def-4d12-aa7e-d2ea535bded6","name":"GET Referral by Customer ID 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 {{customer_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/mine/invitations?searchCriteria","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","mine","invitations"],"query":[{"key":"searchCriteria","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2020 08:47:49 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=4qeo548tcsoc08t4bemtg17bml; expires=Fri, 28-Feb-2020 09:47:53 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"275"},{"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            \"invitation_id\": 1,\n            \"referral_email\": \"roni_cost@example.com\",\n            \"invited_email\": \"hiennt57@mageplaza.com\",\n            \"referral_earn\": 200,\n            \"invited_earn\": 10,\n            \"invited_discount\": 0,\n            \"store_id\": 1,\n            \"created_at\": \"2020-02-28 08:27:09\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": []\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"e5623dbf-058d-4f7c-aae7-a3f0e37fb01e"},{"name":"customer token","id":"ad078645-96d1-4c0f-8b5f-1f871dc78e7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\"username\":\"roni_cost@example.com\",\r\n\"password\":\"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}rest/V1/integration/customer/token","urlObject":{"path":["V1","integration","customer","token"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"db01a7d9-36ec-4038-9e03-74e3d90caf11","name":"customer token example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\"username\":\"roni_cost@example.com\",\r\n\"password\":\"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}rest/V1/integration/customer/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jan 2020 08:24:00 GMT"},{"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=eiosg1c8sfquggd0sdkmr6vkct; expires=Tue, 21-Jan-2020 09:24:00 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Tue, 21-Jan-2020 09:24:00 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com"},{"key":"Set-Cookie","value":"persistent_shopping_cart=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/api/api; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/api/api; domain=develop.mageplaza.com"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"34"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"zb37g4w6p1ds4wh3q4qslhy2bkl9cvze\""}],"_postman_id":"ad078645-96d1-4c0f-8b5f-1f871dc78e7e"},{"name":"GET Refer Code","id":"b85775d0-b7a5-4fff-b798-129dfed9688a","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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/invitation/mine/code","urlObject":{"path":["V1","mpReward","invitation","mine","code"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"d890af34-73a6-4691-bac0-c43a2ad3f5a1","name":"GET Refer Code 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 {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}rest/V1/mpReward/invitation/mine/code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2020 04:08:32 GMT"},{"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=ts6ltnq6ff1ep6hgbbuosduqdv; expires=Thu, 06-Feb-2020 05:08:32 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Thu, 06-Feb-2020 05:08:32 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"62"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"MDozOnF6ak4vem5VSVY4RzU5TlRCcHo2Q1JoQU5DamNTUFdkUnd0WWU4NGw=\""}],"_postman_id":"b85775d0-b7a5-4fff-b798-129dfed9688a"},{"name":"POST Refer By Code","id":"76d86d65-b029-45a9-b76f-f89c3ce4cf26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"code","value":"MDozOnF6ak4vem5VSVY4RzU5TlRCcHo2Q1JoQU5DamNTUFdkUnd0WWU4NGw=","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/invitation/refer","urlObject":{"path":["V1","mpReward","invitation","refer"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"5a419acc-ffb9-4bf7-86f6-83815936b016","name":"POST Refer By Code Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"code","value":"MDozOnF6ak4vem5VSVY4RzU5TlRCcHo2Q1JoQU5DamNTUFdkUnd0WWU4NGw=","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/invitation/refer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2020 04:08:41 GMT"},{"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=ts6ltnq6ff1ep6hgbbuosduqdv; expires=Thu, 06-Feb-2020 05:08:41 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Thu, 06-Feb-2020 05:08:41 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com"},{"key":"Set-Cookie","value":"mp_refer=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/"},{"key":"Set-Cookie","value":"mp_refer=MDozOnF6ak4vem5VSVY4RzU5TlRCcHo2Q1JoQU5DamNTUFdkUnd0WWU4NGw%3D; path=/api/api; domain=develop.mageplaza.com"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"76d86d65-b029-45a9-b76f-f89c3ce4cf26"},{"name":"POST Invite Email","id":"fc02100c-9294-4a70-a8e5-8e4d3463244f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","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 {{customer_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sendFrom","value":"store","type":"text"},{"key":"emails","value":"hiennt@mageplaza.com","type":"text"},{"key":"message","value":"An invitation to your friends has been sent successfully!","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/mine/invite","urlObject":{"path":["V1","mpReward","mine","invite"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"cc43de26-87f3-4710-aa46-f867ae9b4876","name":"POST Invite Email Example","originalRequest":{"method":"POST","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 {{customer_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sendFrom","value":"store","type":"text"},{"key":"emails","value":"hiennt@mageplaza.com","type":"text"},{"key":"message","value":"An invitation to your friends has been sent successfully!","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/mine/invite"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 08:21:58 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 09:22:04 GMT; Max-Age=3600; path=/api/api; 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":"fc02100c-9294-4a70-a8e5-8e4d3463244f"},{"name":"GET Add catalog earning points to the product","id":"9068502e-d264-44e5-91e0-2e68ae1b252e","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/products?searchCriteria[filter_groups][0][filters][0][field]\n=entity_id&searchCriteria[filter_groups][0][filters][0][value]\n=2&searchCriteria[filter_groups][0][filters][0][condition_type]\n\n=eq","urlObject":{"path":["V1","products"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"entity_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n\n","value":"eq"},{"disabled":true,"key":"searchCriteria","value":""}],"variable":[]}},"response":[{"id":"71aad495-5890-44fd-9782-20a1d0b86e47","name":"GET Add catalog earning points to the product 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/products?searchCriteria[filter_groups][0][filters][0][field]\n=entity_id&searchCriteria[filter_groups][0][filters][0][value]\n=2&searchCriteria[filter_groups][0][filters][0][condition_type]\n\n=eq","host":["{{magento_base_url}}rest"],"path":["V1","products"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"entity_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n\n","value":"eq"},{"key":"searchCriteria","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:11:46 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:11:50 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4743"},{"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            \"id\": 2,\n            \"sku\": \"24-MB04\",\n            \"name\": \"Strive Shoulder Pack\",\n            \"attribute_set_id\": 15,\n            \"price\": 32,\n            \"status\": 1,\n            \"visibility\": 4,\n            \"type_id\": \"simple\",\n            \"created_at\": \"2019-11-11 08:07:31\",\n            \"updated_at\": \"2020-02-06 07:44:15\",\n            \"extension_attributes\": {\n                \"website_ids\": [\n                    1,\n                    2\n                ],\n                \"category_links\": [\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"3\"\n                    },\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"7\"\n                    },\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"4\"\n                    }\n                ],\n                \"mp_reward_earning\": 10,\n                \"mp_reward_point_review\": 0\n            },\n            \"product_links\": [\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG05\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG080\",\n                    \"linked_product_type\": \"bundle\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG04\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB01\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB05\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 5\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-UB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 6\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 7\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB04\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 8\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 9\n                },\n                {\n                    \"sku\": \"24-MB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB07\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 10\n                }\n            ],\n            \"options\": [],\n            \"media_gallery_entries\": [\n                {\n                    \"id\": 2,\n                    \"media_type\": \"image\",\n                    \"label\": \"Image\",\n                    \"position\": 1,\n                    \"disabled\": false,\n                    \"types\": [\n                        \"image\",\n                        \"small_image\",\n                        \"thumbnail\"\n                    ],\n                    \"file\": \"/m/b/mb04-black-0.jpg\"\n                },\n                {\n                    \"id\": 3,\n                    \"media_type\": \"image\",\n                    \"label\": \"Image\",\n                    \"position\": 2,\n                    \"disabled\": false,\n                    \"types\": [],\n                    \"file\": \"/m/b/mb04-black-0_alt1.jpg\"\n                }\n            ],\n            \"tier_prices\": [],\n            \"custom_attributes\": [\n                {\n                    \"attribute_code\": \"description\",\n                    \"value\": \"<p>Convenience is next to nothing when your day is crammed with action. So whether you're heading to class, gym, or the unbeaten path, make sure you've got your Strive Shoulder Pack stuffed with all your essentials, and extras as well.</p>\\r\\n<ul>\\r\\n<li>Zippered main compartment.</li>\\r\\n<li>Front zippered pocket.</li>\\r\\n<li>Side mesh pocket.</li>\\r\\n<li>Cell phone pocket on strap.</li>\\r\\n<li>Adjustable shoulder strap and top carry handle.</li>\\r\\n</ul>\"\n                },\n                {\n                    \"attribute_code\": \"special_price\",\n                    \"value\": \"32.000000\"\n                },\n                {\n                    \"attribute_code\": \"manufacturer\",\n                    \"value\": \"5641\"\n                },\n                {\n                    \"attribute_code\": \"image\",\n                    \"value\": \"/m/b/mb04-black-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"url_key\",\n                    \"value\": \"strive-shoulder-pack\"\n                },\n                {\n                    \"attribute_code\": \"gift_message_available\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"special_from_date\",\n                    \"value\": \"2019-11-11 00:00:00\"\n                },\n                {\n                    \"attribute_code\": \"small_image\",\n                    \"value\": \"/m/b/mb04-black-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"options_container\",\n                    \"value\": \"container2\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail\",\n                    \"value\": \"/m/b/mb04-black-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"msrp_display_actual_price_type\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"tax_class_id\",\n                    \"value\": \"2\"\n                },\n                {\n                    \"attribute_code\": \"required_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"has_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"ts_packaging_type\",\n                    \"value\": \"none\"\n                },\n                {\n                    \"attribute_code\": \"image_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"small_image_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"category_ids\",\n                    \"value\": [\n                        \"3\",\n                        \"7\",\n                        \"4\"\n                    ]\n                },\n                {\n                    \"attribute_code\": \"activity\",\n                    \"value\": \"5438,5448,5450,5445\"\n                },\n                {\n                    \"attribute_code\": \"style_bags\",\n                    \"value\": \"5454,5456,5457\"\n                },\n                {\n                    \"attribute_code\": \"material\",\n                    \"value\": \"5459,5460,5463,5465\"\n                },\n                {\n                    \"attribute_code\": \"color\",\n                    \"value\": \"5476\"\n                },\n                {\n                    \"attribute_code\": \"strap_bags\",\n                    \"value\": \"5488,5489,5492,5493,5494\"\n                },\n                {\n                    \"attribute_code\": \"features_bags\",\n                    \"value\": \"5499,5501,5502,5505\"\n                },\n                {\n                    \"attribute_code\": \"eco_collection\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"performance_fabric\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"erin_recommends\",\n                    \"value\": \"1\"\n                },\n                {\n                    \"attribute_code\": \"new\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"sale\",\n                    \"value\": \"1\"\n                },\n                {\n                    \"attribute_code\": \"mp_reward_sell_product\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"mp_sizechart\",\n                    \"value\": \"12\"\n                }\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"entity_id\",\n                        \"value\": \"2\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"9068502e-d264-44e5-91e0-2e68ae1b252e"},{"name":"GET Add catalog earning points to the product by product sku","id":"50f184b4-0964-4163-a83d-b008b00bd756","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/products/24-MB04","urlObject":{"path":["V1","products","24-MB04"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"42b5f5e2-ba62-4a48-907a-dad6ff997a5f","name":"GET Add catalog earning points to the product by product sku 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":"{{magento_base_url}}rest/V1/products/24-MB04"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:12:21 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:12:25 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"5236"},{"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    \"id\": 2,\n    \"sku\": \"24-MB04\",\n    \"name\": \"Strive Shoulder Pack\",\n    \"attribute_set_id\": 15,\n    \"price\": 32,\n    \"status\": 1,\n    \"visibility\": 4,\n    \"type_id\": \"simple\",\n    \"created_at\": \"2019-11-11 08:07:31\",\n    \"updated_at\": \"2020-02-06 07:44:15\",\n    \"extension_attributes\": {\n        \"website_ids\": [\n            1,\n            2\n        ],\n        \"category_links\": [\n            {\n                \"position\": 0,\n                \"category_id\": \"3\"\n            },\n            {\n                \"position\": 0,\n                \"category_id\": \"7\"\n            },\n            {\n                \"position\": 0,\n                \"category_id\": \"4\"\n            }\n        ],\n        \"stock_item\": {\n            \"item_id\": 2,\n            \"product_id\": 2,\n            \"stock_id\": 1,\n            \"qty\": 100,\n            \"is_in_stock\": true,\n            \"is_qty_decimal\": false,\n            \"show_default_notification_message\": false,\n            \"use_config_min_qty\": true,\n            \"min_qty\": 0,\n            \"use_config_min_sale_qty\": 1,\n            \"min_sale_qty\": 1,\n            \"use_config_max_sale_qty\": true,\n            \"max_sale_qty\": 10000,\n            \"use_config_backorders\": true,\n            \"backorders\": 0,\n            \"use_config_notify_stock_qty\": true,\n            \"notify_stock_qty\": 1,\n            \"use_config_qty_increments\": true,\n            \"qty_increments\": 0,\n            \"use_config_enable_qty_inc\": true,\n            \"enable_qty_increments\": false,\n            \"use_config_manage_stock\": true,\n            \"manage_stock\": true,\n            \"low_stock_date\": null,\n            \"is_decimal_divided\": false,\n            \"stock_status_changed_auto\": 0\n        },\n        \"mp_reward_earning\": 10,\n        \"mp_reward_point_review\": 0\n    },\n    \"product_links\": [\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG080\",\n            \"linked_product_type\": \"bundle\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG04\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB01\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 5\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-UB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 6\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 7\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB04\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 8\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 9\n        },\n        {\n            \"sku\": \"24-MB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB07\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 10\n        }\n    ],\n    \"options\": [],\n    \"media_gallery_entries\": [\n        {\n            \"id\": 2,\n            \"media_type\": \"image\",\n            \"label\": \"Image\",\n            \"position\": 1,\n            \"disabled\": false,\n            \"types\": [\n                \"image\",\n                \"small_image\",\n                \"thumbnail\"\n            ],\n            \"file\": \"/m/b/mb04-black-0.jpg\"\n        },\n        {\n            \"id\": 3,\n            \"media_type\": \"image\",\n            \"label\": \"Image\",\n            \"position\": 2,\n            \"disabled\": false,\n            \"types\": [],\n            \"file\": \"/m/b/mb04-black-0_alt1.jpg\"\n        }\n    ],\n    \"tier_prices\": [],\n    \"custom_attributes\": [\n        {\n            \"attribute_code\": \"description\",\n            \"value\": \"<p>Convenience is next to nothing when your day is crammed with action. So whether you're heading to class, gym, or the unbeaten path, make sure you've got your Strive Shoulder Pack stuffed with all your essentials, and extras as well.</p>\\r\\n<ul>\\r\\n<li>Zippered main compartment.</li>\\r\\n<li>Front zippered pocket.</li>\\r\\n<li>Side mesh pocket.</li>\\r\\n<li>Cell phone pocket on strap.</li>\\r\\n<li>Adjustable shoulder strap and top carry handle.</li>\\r\\n</ul>\"\n        },\n        {\n            \"attribute_code\": \"special_price\",\n            \"value\": \"32.000000\"\n        },\n        {\n            \"attribute_code\": \"manufacturer\",\n            \"value\": \"5641\"\n        },\n        {\n            \"attribute_code\": \"image\",\n            \"value\": \"/m/b/mb04-black-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"url_key\",\n            \"value\": \"strive-shoulder-pack\"\n        },\n        {\n            \"attribute_code\": \"gift_message_available\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"special_from_date\",\n            \"value\": \"2019-11-11 00:00:00\"\n        },\n        {\n            \"attribute_code\": \"small_image\",\n            \"value\": \"/m/b/mb04-black-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"options_container\",\n            \"value\": \"container2\"\n        },\n        {\n            \"attribute_code\": \"thumbnail\",\n            \"value\": \"/m/b/mb04-black-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"msrp_display_actual_price_type\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"tax_class_id\",\n            \"value\": \"2\"\n        },\n        {\n            \"attribute_code\": \"required_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"has_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"ts_packaging_type\",\n            \"value\": \"none\"\n        },\n        {\n            \"attribute_code\": \"image_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"small_image_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"thumbnail_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"category_ids\",\n            \"value\": [\n                \"3\",\n                \"7\",\n                \"4\"\n            ]\n        },\n        {\n            \"attribute_code\": \"activity\",\n            \"value\": \"5438,5448,5450,5445\"\n        },\n        {\n            \"attribute_code\": \"style_bags\",\n            \"value\": \"5454,5456,5457\"\n        },\n        {\n            \"attribute_code\": \"material\",\n            \"value\": \"5459,5460,5463,5465\"\n        },\n        {\n            \"attribute_code\": \"color\",\n            \"value\": \"5476\"\n        },\n        {\n            \"attribute_code\": \"strap_bags\",\n            \"value\": \"5488,5489,5492,5493,5494\"\n        },\n        {\n            \"attribute_code\": \"features_bags\",\n            \"value\": \"5499,5501,5502,5505\"\n        },\n        {\n            \"attribute_code\": \"eco_collection\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"performance_fabric\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"erin_recommends\",\n            \"value\": \"1\"\n        },\n        {\n            \"attribute_code\": \"new\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"sale\",\n            \"value\": \"1\"\n        },\n        {\n            \"attribute_code\": \"mp_reward_sell_product\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"mp_sizechart\",\n            \"value\": \"12\"\n        }\n    ]\n}"}],"_postman_id":"50f184b4-0964-4163-a83d-b008b00bd756"},{"name":"POST Subscribe","id":"4a77abbf-71c4-4fea-9e65-8705e6a4b3fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","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 {{customer_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"isUpdate","value":"true","type":"text"},{"key":"isExpire","value":"false","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/mine/subscribe","urlObject":{"path":["V1","mpReward","mine","subscribe"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"29238b7d-c651-4468-b57f-3a1a4323f5e6","name":"POST Subscribe Example","originalRequest":{"method":"POST","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 {{customer_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"isUpdate","value":"true","type":"text"},{"key":"isExpire","value":"false","type":"text"}]},"url":"{{magento_base_url}}rest/V1/mpReward/mine/subscribe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:13: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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:13:29 GMT; Max-Age=3600; path=/api/api; 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":"4a77abbf-71c4-4fea-9e65-8705e6a4b3fa"},{"name":"GET Spending Rule Configuration","id":"6a264e89-6be5-4df4-980b-75298674985e","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"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}rest/V1/mpReward/carts/mine/spending-configuration","urlObject":{"path":["V1","mpReward","carts","mine","spending-configuration"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"07b29d05-80b4-4a5f-afeb-c441f188959e","name":"GET Spending Rule Configuration Example","originalRequest":{"method":"GET","header":[{"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","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}rest/V1/mpReward/carts/mine/spending-configuration"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2020 08:40:39 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=4qeo548tcsoc08t4bemtg17bml; expires=Fri, 28-Feb-2020 09:40:39 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"339"},{"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    {\n        \"pointSpent\": null,\n        \"ruleApplied\": null,\n        \"rules\": [\n            {\n                \"id\": \"no_apply\",\n                \"label\": \"\",\n                \"min\": 0,\n                \"max\": 1,\n                \"step\": 1,\n                \"isDisplaySlider\": false\n            },\n            {\n                \"id\": \"rate\",\n                \"label\": \"Each of 80points gets $6.00 discount\",\n                \"min\": 0,\n                \"max\": \"300\",\n                \"step\": 1,\n                \"isDisplaySlider\": true\n            },\n            {\n                \"id\": \"1\",\n                \"label\": \"Shopping Cart Spending Rule\",\n                \"min\": 0,\n                \"max\": 1,\n                \"step\": 1,\n                \"isDisplaySlider\": false\n            }\n        ]\n    }\n]"}],"_postman_id":"6a264e89-6be5-4df4-980b-75298674985e"},{"name":"GET Rates","id":"cd9a5e31-dc93-4758-ac51-05d9b4188a1e","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/mpReward/rates?searchCriteria[filter_groups][0][filters][0][value]=8&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][0][filters][0][field]\n=rate_id","urlObject":{"path":["V1","mpReward","rates"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"8"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"},{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"rate_id"}],"variable":[]}},"response":[{"id":"4c16ab0e-7653-4d93-9bcc-d3a7139357be","name":"GET Rates 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/mpReward/rates?searchCriteria[filter_groups][0][filters][0][value]=8&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][0][filters][0][field]\n=rate_id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","rates"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"8"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"},{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"rate_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:29:28 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:29:36 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"247"},{"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            \"rate_id\": 8,\n            \"points\": 50,\n            \"money\": 99,\n            \"priority\": null,\n            \"customer_group_ids\": \"1,2,3\",\n            \"website_ids\": \"1\",\n            \"direction\": 2\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"rate_id\",\n                        \"value\": \"8\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"cd9a5e31-dc93-4758-ac51-05d9b4188a1e"},{"name":"POST Add Rate","id":"1384398f-8bf2-4f97-9e5d-617f5d51a1e9","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"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\r\n\t\"rewardRate\":{\r\n\t\t\"points\": 50,\r\n\t\t\"money\": 99,\r\n\t\t\"customer_group_ids\":\"1,2,3\",\r\n\t\t\"website_ids\": \"1\",\r\n\t\t\"direction\":\"2\",\r\n\t\t\"priority\":\"1\"\r\n\t}\r\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/rates","urlObject":{"path":["V1","mpReward","rates"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"bf951b9a-014e-446e-8b42-6a13c71b6213","name":"POST Add Rate Example","originalRequest":{"method":"POST","header":[{"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","type":"text","value":"Bearer {{admin_token}}"}],"body":{"mode":"raw","raw":"{\r\n\t\"rewardRate\":{\r\n\t\t\"points\": 50,\r\n\t\t\"money\": 99,\r\n\t\t\"customer_group_ids\":\"1,2,3\",\r\n\t\t\"website_ids\": \"1\",\r\n\t\t\"direction\":\"2\",\r\n\t\t\"priority\":\"1\"\r\n\t}\r\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:23:39 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:23:43 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"111"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"rate_id\": 12,\n    \"points\": 50,\n    \"money\": 99,\n    \"priority\": 1,\n    \"customer_group_ids\": \"1,2,3\",\n    \"website_ids\": \"1\",\n    \"direction\": 2\n}"}],"_postman_id":"1384398f-8bf2-4f97-9e5d-617f5d51a1e9"},{"name":"Delete Rate","id":"034ceb90-e06b-44a3-ae3a-70ebc0afa155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/rates/:id","urlObject":{"path":["V1","mpReward","rates",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"acfa7e57-4054-4797-865b-040a50e9ee18","type":"string","value":"12","key":"id"}]}},"response":[{"id":"afbf8600-db6d-4cef-9530-39ab1586d31a","name":"Delete Rate Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/rates/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","rates",":id"],"variable":[{"key":"id","value":"12"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:24:08 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:24:12 GMT; Max-Age=3600; path=/api/api; 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":"034ceb90-e06b-44a3-ae3a-70ebc0afa155"},{"name":"GET Catalog Rules","id":"055d003f-3809-4b7d-ba1a-6451b0408036","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"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/catalog-rules?searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][0][filters][0][field]=rule_id&searchCriteria[filter_groups][0][filters][0][value]=1","urlObject":{"path":["V1","mpReward","catalog-rules"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"},{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"}],"variable":[]}},"response":[{"id":"0efaaba4-2c15-4401-9d61-ffb172f8ed83","name":"GET Catalog Rules 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/mpReward/catalog-rules?searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][0][filters][0][field]=rule_id&searchCriteria[filter_groups][0][filters][0][value]=1","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","catalog-rules"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"},{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:31: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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:31:34 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"948"},{"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            \"point_amount\": 1000,\n            \"money_step\": 1000,\n            \"max_points\": 10,\n            \"rule_id\": 1,\n            \"name\": \"Catalog rule\",\n            \"description\": null,\n            \"from_date\": null,\n            \"to_date\": null,\n            \"is_active\": 1,\n            \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\",\\\"attribute\\\":\\\"sku\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"24-MB04\\\",\\\"is_value_processed\\\":false}]}\",\n            \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Action\\\\\\\\Collection\\\",\\\"attribute\\\":null,\\\"operator\\\":\\\"=\\\",\\\"value\\\":null}\",\n            \"stop_rules_processing\": 0,\n            \"sort_order\": 0,\n            \"action\": \"price\",\n            \"website_ids\": [\n                1\n            ],\n            \"customer_group_ids\": [\n                0,\n                1,\n                2,\n                3\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"rule_id\",\n                        \"value\": \"1\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"055d003f-3809-4b7d-ba1a-6451b0408036"},{"name":"GET Catalog Rule By ID","id":"2bf1d67a-94d2-4ffb-b694-7b920b2a8c96","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/catalog-rules/:id","urlObject":{"path":["V1","mpReward","catalog-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"8f38ae89-fb5b-4b53-bd03-2a73f43ba17e","type":"string","value":"1","key":"id"}]}},"response":[{"id":"ba0eebdb-4461-4ac7-9077-d4e6041b1b58","name":"GET Catalog Rule By ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/catalog-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","catalog-rules",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:06: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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:06:44 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"834"},{"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    \"point_amount\": 10,\n    \"money_step\": 100,\n    \"max_points\": 10,\n    \"rule_id\": 1,\n    \"name\": \"Catalog rule\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 1,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\",\\\"attribute\\\":\\\"category_ids\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"4\\\",\\\"is_value_processed\\\":false}]}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Action\\\\\\\\Collection\\\",\\\"attribute\\\":null,\\\"operator\\\":\\\"=\\\",\\\"value\\\":null}\",\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 3,\n    \"action\": \"price\",\n    \"website_ids\": [\n        1,\n        2\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"2bf1d67a-94d2-4ffb-b694-7b920b2a8c96"},{"name":"Delete Catalog Rule By ID","id":"f09d0715-b4c6-4382-abb0-28a80acceac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/catalog-rules/:id","urlObject":{"path":["V1","mpReward","catalog-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"53ba4e7a-0c21-4cb9-b576-bfea1b560b30","type":"string","value":"4","key":"id"}]}},"response":[{"id":"d9eaba7a-c35e-411b-93b4-6dc7f78f158d","name":"Delete Catalog Rule By ID Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/catalog-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","catalog-rules",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 02:30: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=t1spmobs9fhuqgdg8qciglemjf; expires=Thu, 27-Feb-2020 03:30:05 GMT; Max-Age=3600; path=/api/api; 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":"f09d0715-b4c6-4382-abb0-28a80acceac9"},{"name":"Add Catalog Rule","id":"cdf60248-f7aa-47bc-905f-e8756efce0da","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\t\"point_amount\": 88,\n    \"money_step\": 1000,\n    \"max_points\": 10,\n    \"name\": \"Catalog rule 1\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 0,\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n      \n        \n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/catalog-rules","urlObject":{"path":["V1","mpReward","catalog-rules"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"00f086aa-b7e7-4458-9317-f5c3f11abb2c","name":"Add Catalog Rule Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\t\"point_amount\": 88,\n    \"money_step\": 1000,\n    \"max_points\": 10,\n    \"name\": \"Catalog rule 1\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 0,\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n      \n        \n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/catalog-rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:24: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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:24:53 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"644"},{"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    \"point_amount\": 88,\n    \"money_step\": 1000,\n    \"max_points\": 10,\n    \"rule_id\": 9,\n    \"name\": \"Catalog rule 1\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 0,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Action\\\\\\\\Collection\\\",\\\"attribute\\\":null,\\\"operator\\\":\\\"=\\\",\\\"value\\\":null}\",\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"cdf60248-f7aa-47bc-905f-e8756efce0da"},{"name":"GET Shopping Cart Earning Rules","id":"591a8904-96be-4d1c-a702-f1bae451d5f7","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/mpReward/shopping-cart-earning-rules?searchCriteria[filter_groups][0][filters][0][field]\n=rule_id&searchCriteria[filter_groups][0][filters][0][value]\n=2&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","urlObject":{"path":["V1","mpReward","shopping-cart-earning-rules"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"53804f63-094d-41a6-8ca7-85cbd28e286a","name":"GET Shopping Cart Earning Rules 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/mpReward/shopping-cart-earning-rules?searchCriteria[filter_groups][0][filters][0][field]\n=rule_id&searchCriteria[filter_groups][0][filters][0][value]\n=2&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-earning-rules"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:35:18 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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:35:22 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"934"},{"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            \"rule_type\": 1,\n            \"point_amount\": 7,\n            \"money_step\": 0,\n            \"qty_step\": 0,\n            \"max_points\": 0,\n            \"discount_style\": \"fixed\",\n            \"discount_amount\": 0,\n            \"apply_to_shipping\": 0,\n            \"rule_id\": 2,\n            \"name\": \"Shopping Cart Earning Rule\",\n            \"description\": null,\n            \"from_date\": \"2019-12-11\",\n            \"to_date\": \"2019-12-21\",\n            \"is_active\": 1,\n            \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n            \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n            \"stop_rules_processing\": 0,\n            \"sort_order\": 1,\n            \"action\": \"fixed\",\n            \"website_ids\": [\n                1\n            ],\n            \"customer_group_ids\": [\n                0,\n                1,\n                2,\n                3\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"rule_id\",\n                        \"value\": \"2\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"591a8904-96be-4d1c-a702-f1bae451d5f7"},{"name":"GET Shopping Cart Earning Rules By ID","id":"9216fa74-b53c-4c0e-9a94-914afa3927f5","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules/:id","urlObject":{"path":["V1","mpReward","shopping-cart-earning-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"e446308f-0dfe-4392-b154-3cf85c4b5a98","type":"string","value":"2","key":"id"}]}},"response":[{"id":"ec5a4882-5abe-4957-a1d0-6ba906a6f101","name":"GET Shopping Cart Earning Rules By ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-earning-rules",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:25:27 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:25:27 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"804"},{"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    \"rule_type\": 1,\n    \"point_amount\": 7,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 0,\n    \"apply_to_shipping\": 0,\n    \"rule_id\": 2,\n    \"name\": \"Shopping Cart Earning Rule\",\n    \"description\": \"test\",\n    \"from_date\": \"2019-12-11\",\n    \"to_date\": \"2019-12-21\",\n    \"is_active\": 1,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 0,\n    \"sort_order\": 1,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"9216fa74-b53c-4c0e-9a94-914afa3927f5"},{"name":"Add  Shopping Cart Earning Rules","id":"cfd48bf6-b9c6-4f4f-8d03-a036eea4dedb","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n    \"rule_type\": 1,\n    \"point_amount\": 7,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 0,\n    \"apply_to_shipping\": 0,\n    \"name\": \"Shopping Cart Earning Rule 2\",\n    \"description\": \"test\",\n    \"from_date\": \"2019-12-11\",\n    \"to_date\": \"2019-12-21\",\n    \"is_active\": 0,\n    \"stop_rules_processing\": 0,\n    \"sort_order\": 1,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n        \n        \n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n        \n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules","urlObject":{"path":["V1","mpReward","shopping-cart-earning-rules"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"39ac2541-d8ef-4b83-98b0-55231b1fbf2e","name":"Add  Shopping Cart Earning Rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n    \"rule_type\": 1,\n    \"point_amount\": 7,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 0,\n    \"apply_to_shipping\": 0,\n    \"name\": \"Shopping Cart Earning Rule 2\",\n    \"description\": \"test\",\n    \"from_date\": \"2019-12-11\",\n    \"to_date\": \"2019-12-21\",\n    \"is_active\": 0,\n    \"stop_rules_processing\": 0,\n    \"sort_order\": 1,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n        \n        \n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n        \n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:28:08 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:28:08 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"803"},{"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    \"rule_type\": 1,\n    \"point_amount\": 7,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 0,\n    \"apply_to_shipping\": 0,\n    \"rule_id\": 18,\n    \"name\": \"Shopping Cart Earning Rule 2\",\n    \"description\": \"test\",\n    \"from_date\": \"2019-12-11\",\n    \"to_date\": \"2019-12-21\",\n    \"is_active\": 0,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 0,\n    \"sort_order\": 1,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1,\n        2\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"cfd48bf6-b9c6-4f4f-8d03-a036eea4dedb"},{"name":"Delete  Shopping Cart Earning Rules By ID","id":"a0f09664-d913-414e-ad45-c4f6900140ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules/:id","urlObject":{"path":["V1","mpReward","shopping-cart-earning-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"7b1e34ef-dc4c-4f58-a6f9-18fb7425eb29","type":"string","value":"18","key":"id"}]}},"response":[{"id":"564b0984-40b8-495d-b412-e3dea3a37666","name":"Delete  Shopping Cart Earning Rules By ID Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-earning-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-earning-rules",":id"],"variable":[{"key":"id","value":"18"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:29:13 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:29:13 GMT; Max-Age=3600; path=/api/api; 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":"a0f09664-d913-414e-ad45-c4f6900140ee"},{"name":"GET Shopping Cart Spending Rules","id":"e00eb073-eb3b-4760-8081-20be6c283348","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/mpReward/shopping-cart-spending-rules?searchCriteria[filter_groups][0][filters][0][field]=rule_type&searchCriteria[filter_groups][0][filters][0][value]=2&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","urlObject":{"path":["V1","mpReward","shopping-cart-spending-rules"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_type"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"5c931235-5193-4d7f-bbfe-879db2b93c70","name":"GET Shopping Cart Spending Rules 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/mpReward/shopping-cart-spending-rules?searchCriteria[filter_groups][0][filters][0][field]=rule_type&searchCriteria[filter_groups][0][filters][0][value]=2&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-spending-rules"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_type"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"2"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 09:36: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=7dkdb4ajnskmb4ran3rjknpre2; expires=Wed, 26-Feb-2020 10:36:28 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1220"},{"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            \"labels\": [\n                {\n                    \"store_id\": 0,\n                    \"label\": \"Shopping Cart Spending Rule\"\n                }\n            ],\n            \"rule_type\": 2,\n            \"point_amount\": 10,\n            \"money_step\": 0,\n            \"qty_step\": 0,\n            \"max_points\": 0,\n            \"discount_style\": \"fixed\",\n            \"discount_amount\": 10,\n            \"apply_to_shipping\": 0,\n            \"rule_id\": 4,\n            \"name\": \"Shopping Cart Spending Rule\",\n            \"description\": \"Shopping Cart Spending Rule\",\n            \"from_date\": \"2019-12-12\",\n            \"to_date\": \"2020-03-19\",\n            \"is_active\": 1,\n            \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Address\\\",\\\"attribute\\\":\\\"base_subtotal\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"9000\\\",\\\"is_value_processed\\\":false}]}\",\n            \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n            \"stop_rules_processing\": 1,\n            \"sort_order\": 0,\n            \"action\": \"fixed\",\n            \"website_ids\": [\n                1\n            ],\n            \"customer_group_ids\": [\n                1,\n                2,\n                3\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"rule_type\",\n                        \"value\": \"2\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"e00eb073-eb3b-4760-8081-20be6c283348"},{"name":"GET Shopping Cart Spending Rules By ID","id":"e6ee53fb-5753-494b-a2ef-4b2db2df9918","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules/:id","urlObject":{"path":["V1","mpReward","shopping-cart-spending-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"8c56d189-3e1e-4c11-a741-1f3e818a49d2","type":"string","value":"4","key":"id"}]}},"response":[{"id":"d69aa3ed-e154-44c4-90b9-c8a6026a5432","name":"GET Shopping Cart Spending Rules By ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-spending-rules",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:29:39 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:29:39 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1218"},{"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    \"labels\": [\n        {\n            \"store_id\": 0,\n            \"label\": \"Shopping Cart Spending Rule 4\"\n        },\n        {\n            \"store_id\": 1,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 2,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 3,\n            \"label\": \"test\"\n        }\n    ],\n    \"rule_type\": 2,\n    \"point_amount\": 10,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 10,\n    \"apply_to_shipping\": 0,\n    \"rule_id\": 4,\n    \"name\": \"Shopping Cart Spending \",\n    \"description\": \"Shopping Cart Spending Rule\",\n    \"from_date\": \"2019-12-12\",\n    \"to_date\": \"2020-03-19\",\n    \"is_active\": 1,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Address\\\",\\\"attribute\\\":\\\"base_subtotal\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"9000\\\",\\\"is_value_processed\\\":false}]}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"e6ee53fb-5753-494b-a2ef-4b2db2df9918"},{"name":"Add Shopping Cart Spending Rules","id":"62714abb-75a5-408b-a442-5e906effa9d9","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n    \n         \"labels\": [\n        {\n            \"store_id\": 0,\n            \"label\": \"Shopping Cart Spending Rule 4\"\n        },\n        {\n            \"store_id\": 1,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 2,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 3,\n            \"label\": \"test\"\n        }\n        \n    ],\n    \"rule_type\": 2,\n    \"point_amount\": 10,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 10,\n    \"apply_to_shipping\": 0,\n    \"name\": \"Shopping Cart Spending \",\n    \"description\": \"Shopping Cart Spending Rule\",\n    \"from_date\": \"2019-12-12\",\n    \"to_date\": \"2020-03-19\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules","urlObject":{"path":["V1","mpReward","shopping-cart-spending-rules"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"f64b63e7-b982-4fc4-8f93-b33acae40f7d","name":"Add Shopping Cart Spending Rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n    \n         \"labels\": [\n        {\n            \"store_id\": 0,\n            \"label\": \"Shopping Cart Spending Rule 4\"\n        },\n        {\n            \"store_id\": 1,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 2,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 3,\n            \"label\": \"test\"\n        }\n        \n    ],\n    \"rule_type\": 2,\n    \"point_amount\": 10,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 10,\n    \"apply_to_shipping\": 0,\n    \"name\": \"Shopping Cart Spending \",\n    \"description\": \"Shopping Cart Spending Rule\",\n    \"from_date\": \"2019-12-12\",\n    \"to_date\": \"2020-03-19\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:30:23 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:30:23 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1023"},{"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    \"labels\": [\n        {\n            \"store_id\": 0,\n            \"label\": \"Shopping Cart Spending Rule 4\"\n        },\n        {\n            \"store_id\": 1,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 2,\n            \"label\": \"Shopping Cart Spending Rule\"\n        },\n        {\n            \"store_id\": 3,\n            \"label\": \"test\"\n        }\n    ],\n    \"rule_type\": 2,\n    \"point_amount\": 10,\n    \"money_step\": 0,\n    \"qty_step\": 0,\n    \"max_points\": 0,\n    \"discount_style\": \"fixed\",\n    \"discount_amount\": 10,\n    \"apply_to_shipping\": 0,\n    \"rule_id\": 19,\n    \"name\": \"Shopping Cart Spending \",\n    \"description\": \"Shopping Cart Spending Rule\",\n    \"from_date\": \"2019-12-12\",\n    \"to_date\": \"2020-03-19\",\n    \"is_active\": 1,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 1,\n    \"sort_order\": 0,\n    \"action\": \"fixed\",\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"62714abb-75a5-408b-a442-5e906effa9d9"},{"name":"Delete  Shopping Cart Spending Rules By ID","id":"37673e7d-e416-4bac-922d-c01a7025428b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules/:id","urlObject":{"path":["V1","mpReward","shopping-cart-spending-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"e09237b7-f526-44dd-a260-55ef7b6a2bb4","type":"string","value":"19","key":"id"}]}},"response":[{"id":"f4089efa-e5b6-4df7-af51-a4944a581480","name":"Delete  Shopping Cart Spending Rules By ID Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/shopping-cart-spending-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","shopping-cart-spending-rules",":id"],"variable":[{"key":"id","value":"19"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:31:39 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:31:39 GMT; Max-Age=3600; path=/api/api; 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":"37673e7d-e416-4bac-922d-c01a7025428b"},{"name":"GET Referral Rules","id":"4ee20c59-433d-495c-a933-037a20e54b1c","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/referral-rules?searchCriteria[filter_groups][0][filters][0][value]\n=1&searchCriteria[filter_groups][0][filters][0][field]=rule_id&searchCriteria[filter_groups][0][filters][0][condition_type]\n\n=eq","urlObject":{"path":["V1","mpReward","referral-rules"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"1"},{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"rule_id"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n\n","value":"eq"}],"variable":[]}},"response":[],"_postman_id":"4ee20c59-433d-495c-a933-037a20e54b1c"},{"name":"GET Referral Rules By ID","id":"b13b4960-2272-4a1a-9531-ecbe3d11418b","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/referral-rules/:id","urlObject":{"path":["V1","mpReward","referral-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"406c6ff1-c097-4f4e-82fa-e1c10f7a9cf9","type":"string","value":"1","key":"id"}]}},"response":[{"id":"9ece08f1-844e-4175-a612-d666a95251cc","name":"GET Referral Rules By ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/referral-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","referral-rules",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:32:07 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:32:07 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"895"},{"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    \"rule_id\": 1,\n    \"name\": \"Referral rule \",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-05\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 0,\n    \"customer_action\": \"fixed_discount\",\n    \"customer_points\": 100,\n    \"customer_money_step\": 0,\n    \"customer_discount\": 10,\n    \"customer_apply_to_shipping\": 0,\n    \"referral_type\": \"fixed\",\n    \"referral_points\": 200,\n    \"referral_money_step\": 0,\n    \"referral_apply_to_shipping\": 0,\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ],\n    \"referral_group_ids\": [\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"b13b4960-2272-4a1a-9531-ecbe3d11418b"},{"name":"Add Referral Rules","id":"3a8dc5ef-d3cb-4b78-9fd1-430bf57f6eee","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\t\t\n    \"name\": \"Referral rule\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-05\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"stop_rules_processing\": 0,\n    \"customer_action\": \"fixed_discount\",\n    \"customer_points\": 100,\n    \"customer_money_step\": 0,\n    \"customer_discount\": 10,\n    \"customer_apply_to_shipping\": 0,\n    \"referral_type\": \"fixed\",\n    \"referral_points\": 200,\n    \"referral_money_step\": 0,\n    \"referral_apply_to_shipping\": 0,\n    \"website_ids\": [\n        1,\n        2\n        \n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n       \n    ],\n    \"referral_group_ids\": [\n        1,\n        2,\n        3\n        \n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/referral-rules","urlObject":{"path":["V1","mpReward","referral-rules"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"4d595c36-d30c-4c95-aa45-5f3ff2abe0f2","name":"Add Referral Rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\t\t\n    \"name\": \"Referral rule\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-05\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"stop_rules_processing\": 0,\n    \"customer_action\": \"fixed_discount\",\n    \"customer_points\": 100,\n    \"customer_money_step\": 0,\n    \"customer_discount\": 10,\n    \"customer_apply_to_shipping\": 0,\n    \"referral_type\": \"fixed\",\n    \"referral_points\": 200,\n    \"referral_money_step\": 0,\n    \"referral_apply_to_shipping\": 0,\n    \"website_ids\": [\n        1,\n        2\n        \n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n       \n    ],\n    \"referral_group_ids\": [\n        1,\n        2,\n        3\n        \n    ]\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/referral-rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:33:07 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:33:07 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"895"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"rule_id\": 14,\n    \"name\": \"Referral rule\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-05\",\n    \"to_date\": \"2020-02-28\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"actions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\SalesRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":true,\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\"}\",\n    \"stop_rules_processing\": 0,\n    \"customer_action\": \"fixed_discount\",\n    \"customer_points\": 100,\n    \"customer_money_step\": 0,\n    \"customer_discount\": 10,\n    \"customer_apply_to_shipping\": 0,\n    \"referral_type\": \"fixed\",\n    \"referral_points\": 200,\n    \"referral_money_step\": 0,\n    \"referral_apply_to_shipping\": 0,\n    \"website_ids\": [\n        1,\n        2\n    ],\n    \"customer_group_ids\": [\n        1,\n        2,\n        3\n    ],\n    \"referral_group_ids\": [\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"3a8dc5ef-d3cb-4b78-9fd1-430bf57f6eee"},{"name":"Delete Referral Rules By ID","id":"e62724b0-98ba-4953-b196-63d541062add","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/referral-rules/:id","urlObject":{"path":["V1","mpReward","referral-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"fc148b9e-6304-4625-91e0-f5875883a3ec","type":"string","value":"14","key":"id"}]}},"response":[{"id":"b2ebb7b6-b57d-4922-b34f-a89dd1653808","name":"Delete Referral Rules By ID Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/referral-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","referral-rules",":id"],"variable":[{"key":"id","value":"14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:34:22 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:34:22 GMT; Max-Age=3600; path=/api/api; 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":"e62724b0-98ba-4953-b196-63d541062add"},{"name":"GET Behavior Rules","id":"40049306-c014-40cb-987b-64e16295b6e3","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules?searchCriteria[filter_groups][0][filters][0][field]=name&searchCriteria[filter_groups][0][filters][0][value]\n=Jame&searchCriteria[filter_groups][0][filters][0][condition_type]\n=eq","urlObject":{"path":["V1","mpReward","behavior-rules"],"host":["{{magento_base_url}}rest"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"name"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"Jame"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n","value":"eq"}],"variable":[]}},"response":[],"_postman_id":"40049306-c014-40cb-987b-64e16295b6e3"},{"name":"GET Behavior Rules By ID","id":"2bff9d8c-250e-4942-8897-822f776d8c2e","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/:id","urlObject":{"path":["V1","mpReward","behavior-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"d6e3f60a-4fe6-4852-b314-ab6f099e1075","type":"string","value":"1","key":"id"}]}},"response":[{"id":"49f781ed-7f1b-49cc-a98e-35b371ae3618","name":"GET Behavior Rules By ID Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","behavior-rules",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:34:54 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:34:54 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"423"},{"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    \"rule_id\": 1,\n    \"name\": \"Jame\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-21\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"point_action\": \"5\",\n    \"min_words\": 0,\n    \"is_purchased\": 0,\n    \"is_enabled_email\": 1,\n    \"sender\": \"general\",\n    \"email_template\": \"rewardpoints_email_birthday_template\",\n    \"min_interval\": 0,\n    \"action\": \"1\",\n    \"fb_app_id\": null,\n    \"point_amount\": 10,\n    \"max_point\": 0,\n    \"max_point_period\": null,\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"2bff9d8c-250e-4942-8897-822f776d8c2e"},{"name":"Add Behavior Rules","id":"70d36040-eec3-4703-bd3e-aa54aae5ff8f","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\n    \"name\": \"Test\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-21\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"point_action\": \"5\",\n    \"min_words\": 0,\n    \"is_purchased\": 0,\n    \"is_enabled_email\": 1,\n    \"sender\": \"general\",\n    \"email_template\": \"rewardpoints_email_birthday_template\",\n    \"min_interval\": 0,\n    \"action\": \"1\",\n    \"fb_app_id\": null,\n    \"point_amount\": 10,\n    \"max_point\": 0,\n    \"max_point_period\": null,\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules","urlObject":{"path":["V1","mpReward","behavior-rules"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"5b15ddbc-03e3-4d31-9f4c-6c1b2b723fe7","name":"Add Behavior Rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"rule\":{\n\n    \"name\": \"Test\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-21\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"point_action\": \"5\",\n    \"min_words\": 0,\n    \"is_purchased\": 0,\n    \"is_enabled_email\": 1,\n    \"sender\": \"general\",\n    \"email_template\": \"rewardpoints_email_birthday_template\",\n    \"min_interval\": 0,\n    \"action\": \"1\",\n    \"fb_app_id\": null,\n    \"point_amount\": 10,\n    \"max_point\": 0,\n    \"max_point_period\": null,\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n\n\n\t}\n}"},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:35:21 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:35:21 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"424"},{"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    \"rule_id\": 13,\n    \"name\": \"Test\",\n    \"description\": \"test\",\n    \"from_date\": \"2020-02-12\",\n    \"to_date\": \"2020-02-21\",\n    \"is_active\": 1,\n    \"sort_order\": 0,\n    \"point_action\": \"5\",\n    \"min_words\": 0,\n    \"is_purchased\": 0,\n    \"is_enabled_email\": 1,\n    \"sender\": \"general\",\n    \"email_template\": \"rewardpoints_email_birthday_template\",\n    \"min_interval\": 0,\n    \"action\": \"1\",\n    \"fb_app_id\": null,\n    \"point_amount\": 10,\n    \"max_point\": 0,\n    \"max_point_period\": null,\n    \"website_ids\": [\n        1\n    ],\n    \"customer_group_ids\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}"}],"_postman_id":"70d36040-eec3-4703-bd3e-aa54aae5ff8f"},{"name":"Delete Behavior Rules By ID","id":"80a7e699-f21f-4052-9701-c8b22ca47793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/:id","urlObject":{"path":["V1","mpReward","behavior-rules",":id"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[{"id":"921d3fb6-6cd5-44e4-b348-88f8bc21ff66","type":"string","value":"13","key":"id"}]}},"response":[{"id":"01b3e860-324c-4ce0-8349-d5e6fbb78616","name":"Delete Behavior Rules By ID Example","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/:id","host":["{{magento_base_url}}rest"],"path":["V1","mpReward","behavior-rules",":id"],"variable":[{"key":"id","value":"13"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:35:42 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:35:42 GMT; Max-Age=3600; path=/api/api; 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":"80a7e699-f21f-4052-9701-c8b22ca47793"},{"name":"GET Email Template Options","id":"0c4a720e-e131-448e-bdfc-12b4b5de537b","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/email-templates","urlObject":{"path":["V1","mpReward","behavior-rules","email-templates"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"95fbe68a-6486-4b6e-84b8-fc3cb228bcdc","name":"GET Email Template Options Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/email-templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:36: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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:36:02 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"324"},{"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    {\n        \"value\": \"rewardpoints_email_birthday_template\",\n        \"label\": \"Points and Rewards Customer Birthday (Default)\",\n        \"__disableTmpl\": true\n    },\n    {\n        \"value\": \"1\",\n        \"label\": \"New Pickup Order\",\n        \"__disableTmpl\": true\n    },\n    {\n        \"value\": \"2\",\n        \"label\": \"New Pickup Order For Guest\",\n        \"__disableTmpl\": true\n    },\n    {\n        \"value\": \"4\",\n        \"label\": \"Email Invitation\",\n        \"__disableTmpl\": true\n    }\n]"}],"_postman_id":"0c4a720e-e131-448e-bdfc-12b4b5de537b"},{"name":"GET Sender Options","id":"4e9b6046-567d-431f-86ee-ca19f3f999c4","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/sender-options","urlObject":{"path":["V1","mpReward","behavior-rules","sender-options"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"8cf80459-84ff-4a23-8116-9602fcafeffc","name":"GET Sender Options Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":"{{magento_base_url}}rest/V1/mpReward/behavior-rules/sender-options"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:36:21 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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:36:21 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"196"},{"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    {\n        \"value\": \"custom1\",\n        \"label\": \"Custom 1\"\n    },\n    {\n        \"value\": \"custom2\",\n        \"label\": \"Custom 2\"\n    },\n    {\n        \"value\": \"general\",\n        \"label\": \"Owner \"\n    },\n    {\n        \"value\": \"sales\",\n        \"label\": \"Sales\"\n    },\n    {\n        \"value\": \"support\",\n        \"label\": \"CustomerSupport\"\n    }\n]"}],"_postman_id":"4e9b6046-567d-431f-86ee-ca19f3f999c4"},{"name":"GET Configs","id":"0e4d6ee8-a788-45ae-9a99-3417722be824","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"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}rest/V1/mpReward/configs","urlObject":{"path":["V1","mpReward","configs"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"bfb2e62c-c75a-49df-a454-d53e817f347c","name":"GET Configs Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":"{{magento_base_url}}rest/V1/mpReward/configs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Feb 2020 10:36: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=h2go64bcc0erb42s8kg72fb284; expires=Thu, 27-Feb-2020 11:36:38 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"206"},{"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    \"point_label\": \"point\",\n    \"plural_point_label\": \"points\",\n    \"display_point_label\": 1,\n    \"zero_amount_label\": \"zero point 1\",\n    \"maximum_point\": 300,\n    \"point_expired\": 5,\n    \"is_display_top_page\": false,\n    \"is_display_mini_cart\": true\n}"}],"_postman_id":"0e4d6ee8-a788-45ae-9a99-3417722be824"}]}