{"info":{"_postman_id":"3d3a4fef-253b-49f0-8a52-397c6a685f52","name":"Membership","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"3d3a4fef-253b-49f0-8a52-397c6a685f52","publishedId":"SzS4RSnr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-17T02:18:41.000Z"},"item":[{"name":"Get Membership List","id":"15894b6a-f0e6-49f7-ab93-12b5afd08897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMemberships"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6a2f5598-2f5b-4ba2-ab1b-bbe338db231e","name":"Get Membership List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 10:29:15 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Set-Cookie","value":"PHPSESSID=nte991a93d9os0kuohld9d830t; expires=Tue, 17-Mar-2020 11:29:15 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"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":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1667"},{"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            \"membership_id\": 1,\n            \"name\": \"[\\\"Membership 1\\\",\\\"\\\",\\\"\\\"]\",\n            \"status\": 1,\n            \"level\": 1,\n            \"customer_group\": \"1\",\n            \"is_featured\": 1,\n            \"featured_image\": null,\n            \"featured_label\": \"Mageplaza\",\n            \"sort_order\": 0,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 10,\n            \"image\": \"mageplaza/membership/585b476691801d6ab27ceaf1bbb03ba3.jpg\",\n            \"background_color\": \"#3188AD\",\n            \"default_product\": \"2047\",\n            \"benefit\": \"{\\\"option\\\":{\\\"order\\\":{\\\"option_0\\\":\\\"1\\\",\\\"option_1\\\":\\\"2\\\"},\\\"value\\\":{\\\"option_0\\\":[\\\"20% \\\",\\\"\\\",\\\"\\\"],\\\"option_1\\\":[\\\"50%\\\",\\\"\\\",\\\"\\\"]},\\\"delete\\\":{\\\"option_0\\\":\\\"\\\",\\\"option_1\\\":\\\"\\\"}}}\",\n            \"created_at\": \"2020-03-04 02:25:28\",\n            \"updated_at\": \"2020-03-04 03:01:25\"\n        },\n        {\n            \"membership_id\": 2,\n            \"name\": \"[\\\"Membership 2\\\",\\\"\\\",\\\"\\\"]\",\n            \"status\": 1,\n            \"level\": 2,\n            \"customer_group\": \"2\",\n            \"is_featured\": 1,\n            \"featured_image\": null,\n            \"featured_label\": null,\n            \"sort_order\": 2,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 20,\n            \"image\": \"mageplaza/membership/57dcea833c636a6e7f0daa99a9f654e0.jpg\",\n            \"background_color\": \"#B7D162\",\n            \"default_product\": \"2048\",\n            \"benefit\": \"{\\\"option\\\":{\\\"order\\\":{\\\"option_0\\\":\\\"1\\\"},\\\"value\\\":{\\\"option_0\\\":[\\\"payment\\\",\\\"\\\",\\\"\\\"]},\\\"delete\\\":{\\\"option_0\\\":\\\"\\\"}}}\",\n            \"created_at\": \"2020-03-04 03:59:58\",\n            \"updated_at\": \"2020-03-11 09:49:30\"\n        },\n        {\n            \"membership_id\": 3,\n            \"name\": \"[\\\"Level 3\\\",\\\"\\\",\\\"\\\"]\",\n            \"status\": 0,\n            \"level\": 3,\n            \"customer_group\": \"3\",\n            \"is_featured\": 0,\n            \"featured_image\": null,\n            \"featured_label\": null,\n            \"sort_order\": 0,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 10,\n            \"image\": null,\n            \"background_color\": null,\n            \"default_product\": null,\n            \"created_at\": \"2020-03-10 07:04:57\",\n            \"updated_at\": \"2020-03-10 07:04:57\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 3\n}"}],"_postman_id":"15894b6a-f0e6-49f7-ab93-12b5afd08897"},{"name":"Get Current Membership of Customer","id":"836dd178-0234-4250-bee7-fb24696eced3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/mine","urlObject":{"path":["rest","V1","mpMemberships","mine"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b33ca736-2ebd-4560-8fc9-132eae4fc4bd","name":"Get Current Membership of Customer Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/mine"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 10:33: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=nte991a93d9os0kuohld9d830t; expires=Tue, 17-Mar-2020 11:33:38 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"624"},{"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    \"membership_id\": 1,\n    \"name\": \"Membership 1\",\n    \"status\": 1,\n    \"level\": 1,\n    \"customer_group\": null,\n    \"is_featured\": 1,\n    \"featured_image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/default/featured.png\",\n    \"featured_label\": \"Mageplaza\",\n    \"sort_order\": 0,\n    \"default_duration_unit\": \"day\",\n    \"default_duration_no\": 10,\n    \"image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/585b476691801d6ab27ceaf1bbb03ba3.jpg\",\n    \"background_color\": \"#3188AD\",\n    \"default_product\": \"2047\",\n    \"benefit\": \"{\\\"option_0\\\":\\\"20% \\\",\\\"option_1\\\":\\\"50%\\\"}\",\n    \"created_at\": \"2020-03-04 02:25:28\",\n    \"updated_at\": \"2020-03-04 03:01:25\"\n}"}],"_postman_id":"836dd178-0234-4250-bee7-fb24696eced3"},{"name":"Get Member List","id":"b899ca62-fc06-46f6-a640-4d74d277ee4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/members","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMemberships","members"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e5cf6d61-5c3c-423b-80d9-89229c57849a","name":"Get Member List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 02:04:59 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=flf286lvm6obdaufq3tmiife2u; expires=Tue, 17-Mar-2020 03:04:59 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"422"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"customer_id\": 1,\n            \"last_membership_id\": 1,\n            \"inactive_membership_id\": 2,\n            \"status\": 1,\n            \"start_date\": \"2020-03-16 04:22:07\",\n            \"duration\": \"0\",\n            \"membership_price\": 20\n        },\n        {\n            \"customer_id\": 2,\n            \"last_membership_id\": 2,\n            \"inactive_membership_id\": 2,\n            \"status\": 1,\n            \"start_date\": \"2020-03-11 10:27:27\",\n            \"duration\": \"1728000\",\n            \"membership_price\": 50\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 2\n}"}],"_postman_id":"b899ca62-fc06-46f6-a640-4d74d277ee4a"},{"name":"Get Transaction List","id":"880b391e-11df-4a66-bcce-e97b8ebe55c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/transactions","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMemberships","transactions"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cd2b0249-c0b4-4091-a0b5-20da09a06e9f","name":"Get Transaction List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Mar 2020 04:11: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=4ijc1m9cc2d61488rutkjd7ste; expires=Wed, 18-Mar-2020 05:11:54 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2745"},{"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            \"history_id\": 1,\n            \"item_id\": 16,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-04 03:01:52\",\n            \"membership_start\": \"2020-03-04 03:23:08\",\n            \"membership_data\": \"{\\\"number\\\":\\\"5\\\",\\\"unit\\\":\\\"day\\\"}\"\n        },\n        {\n            \"history_id\": 3,\n            \"item_id\": 19,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-10 07:05:23\",\n            \"membership_start\": \"2020-03-10 07:06:09\",\n            \"membership_data\": \"{\\\"number\\\":\\\"5\\\",\\\"unit\\\":\\\"day\\\"}\"\n        },\n        {\n            \"history_id\": 5,\n            \"item_id\": 21,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 30,\n            \"created_date\": \"2020-03-10 07:09:18\",\n            \"membership_start\": \"2020-03-10 07:09:36\",\n            \"membership_data\": \"{\\\"number\\\":\\\"2\\\",\\\"unit\\\":\\\"month\\\"}\"\n        },\n        {\n            \"history_id\": 8,\n            \"item_id\": 24,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-13 09:47:02\",\n            \"membership_start\": \"2020-03-16 04:22:07\",\n            \"membership_data\": \"{\\\"permanent\\\":\\\"Permanent\\\"}\"\n        },\n        {\n            \"history_id\": 2,\n            \"item_id\": 18,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 1,\n            \"amount\": 50,\n            \"created_date\": \"2020-03-04 04:14:50\",\n            \"membership_start\": \"2020-03-04 04:16:16\",\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 4,\n            \"item_id\": 20,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 3,\n            \"amount\": 30.1667,\n            \"created_date\": \"2020-03-10 07:07:41\",\n            \"membership_start\": \"2020-03-10 07:08:31\",\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 6,\n            \"item_id\": 22,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 3,\n            \"amount\": 20.0205,\n            \"created_date\": \"2020-03-10 07:11:34\",\n            \"membership_start\": null,\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 7,\n            \"item_id\": 23,\n            \"customer_id\": 2,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 1,\n            \"amount\": 50,\n            \"created_date\": \"2020-03-11 10:25:53\",\n            \"membership_start\": \"2020-03-11 10:27:27\",\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 9,\n            \"item_id\": 26,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 1,\n            \"amount\": 100,\n            \"created_date\": \"2020-03-16 05:00:39\",\n            \"membership_start\": null,\n            \"membership_data\": \"{\\\"number\\\":\\\"1\\\",\\\"unit\\\":\\\"year\\\"}\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 9\n}"}],"_postman_id":"880b391e-11df-4a66-bcce-e97b8ebe55c4"},{"name":"Get Transaction List of Customer","id":"b9ee71ec-c0e3-47f7-9a68-537d8c0d2f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/mine/transactions","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMemberships","mine","transactions"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d7133e55-2c93-400a-b241-8725a842ee98","name":"Get Transaction List of Customer Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMemberships/mine/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Mar 2020 04:04: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=4ijc1m9cc2d61488rutkjd7ste; expires=Wed, 18-Mar-2020 05:04:39 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2450"},{"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            \"history_id\": 1,\n            \"item_id\": 16,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-04 03:01:52\",\n            \"membership_start\": \"2020-03-04 03:23:08\",\n            \"membership_data\": \"{\\\"number\\\":\\\"5\\\",\\\"unit\\\":\\\"day\\\"}\"\n        },\n        {\n            \"history_id\": 3,\n            \"item_id\": 19,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-10 07:05:23\",\n            \"membership_start\": \"2020-03-10 07:06:09\",\n            \"membership_data\": \"{\\\"number\\\":\\\"5\\\",\\\"unit\\\":\\\"day\\\"}\"\n        },\n        {\n            \"history_id\": 5,\n            \"item_id\": 21,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 30,\n            \"created_date\": \"2020-03-10 07:09:18\",\n            \"membership_start\": \"2020-03-10 07:09:36\",\n            \"membership_data\": \"{\\\"number\\\":\\\"2\\\",\\\"unit\\\":\\\"month\\\"}\"\n        },\n        {\n            \"history_id\": 8,\n            \"item_id\": 24,\n            \"customer_id\": 1,\n            \"membership_id\": 1,\n            \"membership_name\": \"Membership 1\",\n            \"item_product_name\": \"Membership Product 1\",\n            \"action\": 1,\n            \"amount\": 20,\n            \"created_date\": \"2020-03-13 09:47:02\",\n            \"membership_start\": \"2020-03-16 04:22:07\",\n            \"membership_data\": \"{\\\"permanent\\\":\\\"Permanent\\\"}\"\n        },\n        {\n            \"history_id\": 2,\n            \"item_id\": 18,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 1,\n            \"amount\": 50,\n            \"created_date\": \"2020-03-04 04:14:50\",\n            \"membership_start\": \"2020-03-04 04:16:16\",\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 4,\n            \"item_id\": 20,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 3,\n            \"amount\": 30.1667,\n            \"created_date\": \"2020-03-10 07:07:41\",\n            \"membership_start\": \"2020-03-10 07:08:31\",\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 6,\n            \"item_id\": 22,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 3,\n            \"amount\": 20.0205,\n            \"created_date\": \"2020-03-10 07:11:34\",\n            \"membership_start\": null,\n            \"membership_data\": \"{\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20.0000\\\"}\"\n        },\n        {\n            \"history_id\": 9,\n            \"item_id\": 26,\n            \"customer_id\": 1,\n            \"membership_id\": 2,\n            \"membership_name\": \"Membership 2\",\n            \"item_product_name\": \"Membership 2\",\n            \"action\": 1,\n            \"amount\": 100,\n            \"created_date\": \"2020-03-16 05:00:39\",\n            \"membership_start\": null,\n            \"membership_data\": \"{\\\"number\\\":\\\"1\\\",\\\"unit\\\":\\\"year\\\"}\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 8\n}"}],"_postman_id":"b9ee71ec-c0e3-47f7-9a68-537d8c0d2f31"},{"name":"Add Menbership Product to Cart by Customer","id":"0dfe80db-5717-4cec-b6d7-d9fac03ee402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"cartItem\": {\n        \"sku\": \"Membership 1\",\n        \"qty\": 1,\n        \"quote_id\": \"28\",\n        \"product_option\": {\n            \"extension_attributes\": {\n                \"mpmembership_data\": \"1\"\n            }\n        }\n    }\n}"},"url":"{{magento_base_url}}/rest/V1/carts/mine/items","description":"<p>\"mpmembership_data\" is the value of the options in the Duration Options section of the membership product and is performed orderly respectively 0, 1, 2, and so on. Example: There are 3 options in the Options section, so respectively the 1st option is 0, the 2nd option is 1 and the 3rd is 2.</p>\n","urlObject":{"path":["rest","V1","carts","mine","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"69250bff-47af-43e1-bddc-7589a0f50062","name":"Add Menbership Product to Cart by Customer Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"cartItem\": {\n        \"sku\": \"Membership 1\",\n        \"qty\": 1,\n        \"quote_id\": \"28\",\n        \"product_option\": {\n            \"extension_attributes\": {\n                \"mpmembership_data\": \"1\"\n            }\n        }\n    }\n}"},"url":"{{magento_base_url}}/rest/V1/carts/mine/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 02:08: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=flf286lvm6obdaufq3tmiife2u; expires=Tue, 17-Mar-2020 03:08:53 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"130"},{"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    \"item_id\": 68,\n    \"sku\": \"Membership 1\",\n    \"qty\": 1,\n    \"name\": \"Membership Product 1\",\n    \"price\": 40,\n    \"product_type\": \"mpmembership\",\n    \"quote_id\": \"28\"\n}"}],"_postman_id":"0dfe80db-5717-4cec-b6d7-d9fac03ee402"},{"name":"Get Cart by Customer","id":"760d0796-ec76-46f7-ac4a-427d56d128b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/carts/mine","urlObject":{"path":["rest","V1","carts","mine"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3dc656bf-b071-4bae-96eb-2d4ef1a267da","name":"Get Cart by Customer Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/carts/mine"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 02:09:16 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=flf286lvm6obdaufq3tmiife2u; expires=Tue, 17-Mar-2020 03:09:16 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2122"},{"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\": 28,\n    \"created_at\": \"2020-03-16 09:32:16\",\n    \"updated_at\": \"2020-03-17 02:08:53\",\n    \"is_active\": true,\n    \"is_virtual\": true,\n    \"items\": [\n        {\n            \"item_id\": 68,\n            \"sku\": \"Membership 1\",\n            \"qty\": 1,\n            \"name\": \"Membership Product 1\",\n            \"price\": 40,\n            \"product_type\": \"mpmembership\",\n            \"quote_id\": \"28\",\n            \"product_option\": {\n                \"extension_attributes\": {\n                    \"mp_membership_duration\": \"20 Day(s)\"\n                }\n            }\n        }\n    ],\n    \"items_count\": 1,\n    \"items_qty\": 1,\n    \"customer\": {\n        \"id\": 1,\n        \"group_id\": 1,\n        \"default_billing\": \"1\",\n        \"default_shipping\": \"1\",\n        \"created_at\": \"2020-02-28 03:28:43\",\n        \"updated_at\": \"2020-03-11 07:23:27\",\n        \"created_in\": \"Default Store View\",\n        \"dob\": \"1973-12-15\",\n        \"email\": \"roni_cost@example.com\",\n        \"firstname\": \"Veronica\",\n        \"lastname\": \"Costello\",\n        \"gender\": 2,\n        \"store_id\": 1,\n        \"website_id\": 1,\n        \"addresses\": [\n            {\n                \"id\": 1,\n                \"customer_id\": 1,\n                \"region\": {\n                    \"region_code\": \"MI\",\n                    \"region\": \"Michigan\",\n                    \"region_id\": 33\n                },\n                \"region_id\": 33,\n                \"country_id\": \"US\",\n                \"street\": [\n                    \"6146 Honey Bluff Parkway\"\n                ],\n                \"telephone\": \"(555) 229-3326\",\n                \"postcode\": \"49628-7978\",\n                \"city\": \"Calder\",\n                \"firstname\": \"Veronica\",\n                \"lastname\": \"Costello\",\n                \"default_shipping\": true,\n                \"default_billing\": true\n            },\n            {\n                \"id\": 3,\n                \"customer_id\": 1,\n                \"region\": {\n                    \"region_code\": \"MI\",\n                    \"region\": \"Michigan\",\n                    \"region_id\": 33\n                },\n                \"region_id\": 33,\n                \"country_id\": \"US\",\n                \"street\": [\n                    \"6146 Honey Bluff Parkway\"\n                ],\n                \"telephone\": \"(555) 229-3326\",\n                \"postcode\": \"49628-7978\",\n                \"city\": \"Calder\",\n                \"firstname\": \"Veronica\",\n                \"lastname\": \"Costello\"\n            }\n        ],\n        \"disable_auto_group_change\": 0,\n        \"extension_attributes\": {\n            \"is_subscribed\": false\n        }\n    },\n    \"billing_address\": {\n        \"id\": 122,\n        \"region\": \"Michigan\",\n        \"region_id\": 33,\n        \"region_code\": \"MI\",\n        \"country_id\": \"US\",\n        \"street\": [\n            \"6146 Honey Bluff Parkway\"\n        ],\n        \"telephone\": \"(555) 229-3326\",\n        \"postcode\": \"49628-7978\",\n        \"city\": \"Calder\",\n        \"firstname\": \"Veronica\",\n        \"lastname\": \"Costello\",\n        \"customer_id\": 1,\n        \"email\": \"roni_cost@example.com\",\n        \"same_as_billing\": 0,\n        \"customer_address_id\": 1,\n        \"save_in_address_book\": 0\n    },\n    \"orig_order_id\": 0,\n    \"currency\": {\n        \"global_currency_code\": \"USD\",\n        \"base_currency_code\": \"USD\",\n        \"store_currency_code\": \"USD\",\n        \"quote_currency_code\": \"USD\",\n        \"store_to_base_rate\": 0,\n        \"store_to_quote_rate\": 0,\n        \"base_to_global_rate\": 1,\n        \"base_to_quote_rate\": 1\n    },\n    \"customer_is_guest\": false,\n    \"customer_note_notify\": true,\n    \"customer_tax_class_id\": 3,\n    \"store_id\": 2,\n    \"extension_attributes\": {\n        \"shipping_assignments\": []\n    }\n}"}],"_postman_id":"760d0796-ec76-46f7-ac4a-427d56d128b4"},{"name":"Add Menbership Product to Cart by Guest","id":"48d06620-be4e-4f23-acce-56eeea252407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"cartItem\": {\n        \"sku\": \"Membership 1\",\n        \"qty\": 1,\n        \"quote_id\": \"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT\",\n        \"product_option\": {\n            \"extension_attributes\": {\n                \"mpmembership_data\": \"1\"\n            }\n        }\n    }\n}"},"url":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","description":"<p>\"mpmembership_data\" is the value of the options in the Duration Options section of the membership product and is performed orderly respectively 0, 1, 2, and so on. Example: There are 3 options in the Options section, so respectively the 1st option is 0, the 2nd option is 1 and the 3rd is 2.</p>\n","urlObject":{"path":["rest","V1","guest-carts",":cartId","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT","key":"cartId"}]}},"response":[{"id":"650b060f-9024-4368-b8e5-73ac4434632c","name":"Add Menbership Product to Cart by Guest Exxample","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"cartItem\": {\n        \"sku\": \"Membership 1\",\n        \"qty\": 1,\n        \"quote_id\": \"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT\",\n        \"product_option\": {\n            \"extension_attributes\": {\n                \"mpmembership_data\": \"1\"\n            }\n        }\n    }\n}"},"url":{"raw":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","host":["{{magento_base_url}}"],"path":["rest","V1","guest-carts",":cartId","items"],"variable":[{"key":"cartId","value":"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 02:12:10 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=flf286lvm6obdaufq3tmiife2u; expires=Tue, 17-Mar-2020 03:12:10 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"130"},{"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    \"item_id\": 69,\n    \"sku\": \"Membership 1\",\n    \"qty\": 1,\n    \"name\": \"Membership Product 1\",\n    \"price\": 40,\n    \"product_type\": \"mpmembership\",\n    \"quote_id\": \"29\"\n}"}],"_postman_id":"48d06620-be4e-4f23-acce-56eeea252407"},{"name":"Get Cart by Guest","id":"ea74524f-c86d-4c2a-90be-3e252370ab96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","urlObject":{"path":["rest","V1","guest-carts",":cartId","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT","key":"cartId"}]}},"response":[{"id":"7dcbfcc9-9270-43e5-a0d7-3fd1e9ec3268","name":"Get Cart by Guest Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","host":["{{magento_base_url}}"],"path":["rest","V1","guest-carts",":cartId","items"],"variable":[{"key":"cartId","value":"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 02:12:36 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=flf286lvm6obdaufq3tmiife2u; expires=Tue, 17-Mar-2020 03:12:36 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"243"},{"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        \"item_id\": 69,\n        \"sku\": \"Membership 1\",\n        \"qty\": 1,\n        \"name\": \"Membership Product 1\",\n        \"price\": 40,\n        \"product_type\": \"mpmembership\",\n        \"quote_id\": \"uRswokJ2vLFQnvFkfbOiseoHOIhaWwoT\",\n        \"product_option\": {\n            \"extension_attributes\": {\n                \"mp_membership_duration\": \"20 Day(s)\"\n            }\n        }\n    }\n]"}],"_postman_id":"ea74524f-c86d-4c2a-90be-3e252370ab96"},{"name":"Get Membership Page","id":"b1456e8a-d086-4b91-84c4-b26b96141f6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/mpMembership/page","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMembership","page"],"host":["{{magento_base_url}}"],"query":[{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"is_featured"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"20c5494e-cd77-4855-b306-14b322f1d2ed","name":"Get Membership Page Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpMembership/page","host":["{{magento_base_url}}"],"path":["rest","V1","mpMembership","page"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"is_featured","disabled":true},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1","disabled":true},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 10:54: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=nte991a93d9os0kuohld9d830t; expires=Tue, 17-Mar-2020 11:54:44 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2356"},{"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            \"duration\": null,\n            \"price\": \"$20.00\",\n            \"options\": \"[{\\\"record_id\\\":\\\"0\\\",\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"5\\\",\\\"price\\\":\\\"20\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"1\\\",\\\"formattedPrice\\\":\\\"$20.00\\\",\\\"label\\\":\\\"$20.00 - 5 Day(s)\\\"},{\\\"record_id\\\":\\\"1\\\",\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20\\\",\\\"price\\\":\\\"40\\\",\\\"membership\\\":\\\"1\\\",\\\"formattedPrice\\\":\\\"$40.00\\\",\\\"label\\\":\\\"$40.00 - 20 Day(s)\\\"}]\",\n            \"is_out_of_stock\": false,\n            \"membership_id\": 1,\n            \"name\": \"Membership 1\",\n            \"status\": 1,\n            \"level\": 1,\n            \"customer_group\": \"1\",\n            \"is_featured\": 1,\n            \"featured_image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/default/featured.png\",\n            \"featured_label\": \"Mageplaza\",\n            \"sort_order\": 0,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 10,\n            \"image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/585b476691801d6ab27ceaf1bbb03ba3.jpg\",\n            \"background_color\": \"#3188AD\",\n            \"default_product\": \"2047\",\n            \"benefit\": \"{\\\"option_0\\\":\\\"20% \\\",\\\"option_1\\\":\\\"50%\\\"}\",\n            \"created_at\": \"2020-03-04 02:25:28\",\n            \"updated_at\": \"2020-03-04 03:01:25\"\n        },\n        {\n            \"duration\": null,\n            \"price\": \"$50.00\",\n            \"options\": \"[{\\\"record_id\\\":\\\"0\\\",\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20\\\",\\\"price\\\":\\\"20\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$20.00\\\",\\\"label\\\":\\\"$20.00 - 20 Day(s)\\\"},{\\\"record_id\\\":\\\"1\\\",\\\"unit\\\":\\\"month\\\",\\\"number\\\":\\\"1\\\",\\\"price\\\":\\\"25\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$25.00\\\",\\\"label\\\":\\\"$25.00 - 1 Month(s)\\\"},{\\\"record_id\\\":\\\"2\\\",\\\"unit\\\":\\\"year\\\",\\\"number\\\":\\\"1\\\",\\\"price\\\":\\\"100\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$100.00\\\",\\\"label\\\":\\\"$100.00 - 1 Year(s)\\\"}]\",\n            \"is_out_of_stock\": false,\n            \"membership_id\": 2,\n            \"name\": \"Membership 2\",\n            \"status\": 1,\n            \"level\": 2,\n            \"customer_group\": \"2\",\n            \"is_featured\": 1,\n            \"featured_image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/default/featured.png\",\n            \"featured_label\": null,\n            \"sort_order\": 2,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 20,\n            \"image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/57dcea833c636a6e7f0daa99a9f654e0.jpg\",\n            \"background_color\": \"#B7D162\",\n            \"default_product\": \"2048\",\n            \"benefit\": \"{\\\"option_0\\\":\\\"payment\\\"}\",\n            \"created_at\": \"2020-03-04 03:59:58\",\n            \"updated_at\": \"2020-03-11 09:49:30\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 2\n}"}],"_postman_id":"b1456e8a-d086-4b91-84c4-b26b96141f6e"},{"name":"Get Upgrade Page","id":"0650ad46-4cc9-4407-90b3-01bccee882cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":"{{magento_base_url}}/rest/V1/mpMembership/mine/upgrade-page","description":"<p>You can filter by using params SearchCriteria</p>\n","urlObject":{"path":["rest","V1","mpMembership","mine","upgrade-page"],"host":["{{magento_base_url}}"],"query":[{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"is_featured"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"disabled":true,"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"neq"}],"variable":[]}},"response":[{"id":"4820725f-6466-4382-863a-32f90adfa656","name":"Get Upgrade Page Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpMembership/mine/upgrade-page","host":["{{magento_base_url}}"],"path":["rest","V1","mpMembership","mine","upgrade-page"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"is_featured","disabled":true},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1","disabled":true},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"neq","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Mar 2020 10:54:14 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=nte991a93d9os0kuohld9d830t; expires=Tue, 17-Mar-2020 11:54:17 GMT; Max-Age=3600; path=/api/api2; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1320"},{"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            \"duration\": null,\n            \"price\": \"$30.00\",\n            \"options\": \"[{\\\"record_id\\\":\\\"0\\\",\\\"unit\\\":\\\"day\\\",\\\"number\\\":\\\"20\\\",\\\"price\\\":\\\"20\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$0.00\\\",\\\"label\\\":\\\"$0.00 - 20 Day(s)\\\"},{\\\"record_id\\\":\\\"1\\\",\\\"unit\\\":\\\"month\\\",\\\"number\\\":\\\"1\\\",\\\"price\\\":\\\"25\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$5.00\\\",\\\"label\\\":\\\"$5.00 - 1 Month(s)\\\"},{\\\"record_id\\\":\\\"2\\\",\\\"unit\\\":\\\"year\\\",\\\"number\\\":\\\"1\\\",\\\"price\\\":\\\"100\\\",\\\"initialize\\\":\\\"1\\\",\\\"membership\\\":\\\"2\\\",\\\"formattedPrice\\\":\\\"$80.00\\\",\\\"label\\\":\\\"$80.00 - 1 Year(s)\\\"}]\",\n            \"is_out_of_stock\": false,\n            \"membership_id\": 2,\n            \"name\": \"Membership 2\",\n            \"status\": 1,\n            \"level\": 2,\n            \"customer_group\": \"2\",\n            \"is_featured\": 1,\n            \"featured_image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/default/featured.png\",\n            \"featured_label\": null,\n            \"sort_order\": 2,\n            \"default_duration_unit\": \"day\",\n            \"default_duration_no\": 20,\n            \"image\": \"http://develop.mageplaza.com/api/api2/pub/media/mageplaza/membership/57dcea833c636a6e7f0daa99a9f654e0.jpg\",\n            \"background_color\": \"#B7D162\",\n            \"default_product\": \"2048\",\n            \"benefit\": \"{\\\"option_0\\\":\\\"payment\\\"}\",\n            \"created_at\": \"2020-03-04 03:59:58\",\n            \"updated_at\": \"2020-03-11 09:49:30\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"sort_orders\": [\n            {\n                \"field\": null,\n                \"direction\": null\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"0650ad46-4cc9-4407-90b3-01bccee882cd"}]}