{"info":{"_postman_id":"0f0e79bd-8fc3-4cf2-8587-6a64bee39f28","name":"Magento 2 GDPR Pro API & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"0f0e79bd-8fc3-4cf2-8587-6a64bee39f28","publishedId":"UVkqruHz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-28T04:29:51.000Z"},"item":[{"name":"Customer Token","id":"b636f48d-9146-45fd-b25c-d1b0cf7106df","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"}],"body":{"mode":"raw","raw":"{\r\n\t\"username\": \"roni_cost@example.com\",\r\n\t\"password\": \"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}/rest/V1/integration/customer/token","urlObject":{"path":["rest","V1","integration","customer","token"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"59505651-4c13-40be-91e4-177140acdf3b","name":"Customer Token example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"username\": \"roni_cost@example.com\",\r\n\t\"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":"Mon, 28 Feb 2022 06:13:53 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ddr9847kdm73nemjj9f03kdvic; expires=Mon, 28-Feb-2022 07:13:53 GMT; Max-Age=3600; path=/dangmaianh/ce243p1b/pub; domain=dev.mageplaza.vn; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"persistent_shopping_cart=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/dangmaianh/ce243p1b/pub; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/dangmaianh/ce243p1b/pub; domain=dev.mageplaza.vn; SameSite=Lax"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"34"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3369623"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"mktjidv89pa9p94s4s74memptl8exjj1\""}],"_postman_id":"b636f48d-9146-45fd-b25c-d1b0cf7106df"},{"name":"Get Configuration GDPR Professional","id":"54a52562-e92b-4429-aef6-5a33d6edc5a9","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/gdpr/configs","urlObject":{"path":["rest","V1","gdpr","configs"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4f01eb8e-6acb-473b-93b6-6c3115b2a919","name":"Get Configuration GDPR Professional 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/gdpr/configs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 02:11:44 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"2242"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3595567"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"anonymise_config\": {\n        \"allow_delete_abandonedcart\": \"1\",\n        \"order_processing_enable\": \"1\",\n        \"first_name\": \"spy\",\n        \"last_name\": \"spy007\",\n        \"email\": \"spy07.mail@anonymise.com\",\n        \"order_address_enable\": \"1\",\n        \"order_address_fields\": \"street,city,state_province,postcode,telephone\"\n    },\n    \"cookie_restriction_config\": {\n        \"enable\": \"1\",\n        \"block_access\": \"1\",\n        \"message\": \"\\n                        <p>\\n                            <strong>We use cookies to make your experience better.</strong>\\n                            <span>To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies.</span>\\n                            <a href=\\\"http://dev.mageplaza.vn:8080/dangmaianh/ce243p1b/pub/about-us/\\\">Learn more</a>\\n                        </p>\\n                    \",\n        \"policy_page\": \"http://dev.mageplaza.vn:8080/dangmaianh/ce243p1b/pub/about-us/\",\n        \"button_text\": \"Allow Cookies\",\n        \"apply_for\": \"0\",\n        \"location\": \"bottom\",\n        \"specific_country\": \"VN\",\n        \"custom_css\": \".gdpr-cookie{text-align: center}\"\n    },\n    \"email_config\": {\n        \"enable\": \"1\",\n        \"sender\": \"sales\",\n        \"confirmation\": {\n            \"enable\": \"1\",\n            \"template\": \"gdpr_email_confirmation_template\"\n        },\n        \"before_delete_account\": {\n            \"enable\": \"1\",\n            \"time_before_auto_delete\": \"2\",\n            \"template\": \"gdpr_email_before_delete_account_template\",\n            \"template_after\": \"gdpr_email_before_delete_account_template_after\"\n        },\n        \"admin_notification_email\": {\n            \"enable\": \"1\",\n            \"receiver\": [\n                \"sales@example.com\",\n                \"Sales\"\n            ],\n            \"template\": \"gdpr_email_admin_notification_email_template\"\n        }\n    },\n    \"general_config\": {\n        \"allow_verify_password\": \"1\",\n        \"allow_download\": \"1\",\n        \"download_customer_message\": \"Here you can download a copy of your personal data in CSV or Excel XML file\",\n        \"allow_tac_register_customer\": \"1\",\n        \"tac_title_checkbox\": \"I agree to the Terms and Conditions\",\n        \"tac_content\": \"                        <p>\\r\\n                            <strong>According to GDPR: </strong>\\r\\n                            <span>To protect the security of your personal data, you have rights to delete your information on our website completely .</span>\\r\\n                        </p>\\r\\n                    \",\n        \"auto_delete_customer_account\": \"1\",\n        \"time_auto_delete\": \"30\",\n        \"enable\": \"1\",\n        \"allow_delete_customer\": \"1\",\n        \"delete_customer_message\": \"Do you want to delete???\",\n        \"allow_delete_default_address\": \"1\"\n    }\n}"}],"_postman_id":"54a52562-e92b-4429-aef6-5a33d6edc5a9"},{"name":"Download Data by type","id":"50e65475-af19-4c69-9fb1-d5e3856c62ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/gdpr/downloadCustomData/:type","urlObject":{"path":["rest","V1","gdpr","downloadCustomData",":type"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"any","value":"csv","key":"type"}]}},"response":[{"id":"4e576709-6f58-42d1-b7df-f41c2d96cf87","name":"Download Data CSV Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/gdpr/downloadCustomData/:type","host":["{{magento_base_url}}"],"path":["rest","V1","gdpr","downloadCustomData",":type"],"variable":[{"key":"type","value":"csv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Feb 2022 03:15:54 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"public"},{"key":"Set-Cookie","value":"PHPSESSID=logdrkk7cb032o93ks37rq5d27; expires=Mon, 28-Feb-2022 04:15:54 GMT; Max-Age=3600; path=/dangmaianh/ce243p1b/pub; domain=dev.mageplaza.vn; HttpOnly; SameSite=Lax"},{"key":"Content-Length","value":"653"},{"key":"Content-Description","value":"File Transfer"},{"key":"Content-Transfer-Encoding","value":"binary"},{"key":"Content-Disposition","value":"attachment; filename=\"customer_data.csv\""},{"key":"Last-Modified","value":"Mon, 28 Feb 2022 03:15:54 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3501190"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"Website id\",1\nEmail,roni_cost@example.com\n\"Group id\",1\n\"Store id\",1\n\"Created at\",\"Feb 27, 2022, 9:13:03 PM\"\n\"Updated at\",\"Feb 27, 2022, 9:13:19 PM\"\n\"Disable auto group change\",0\n\"Created in\",\"Default Store View\"\nFirstname,Veronica\nLastname,Costello\n\"Default billing\",7\n\"Default shipping\",7\nId,8\n\"Address Firstname,Veronica\"\n\"Address Lastname,Costello\"\n\"Address Street,6146 Honey Bluff Parkway\"\n\"Address Country id,US\"\n\"Address Region,Michigan,MI,33\"\n\"Address Region id,33\"\n\"Address City,Calder\"\n\"Address Postcode,49628-7978\"\n\"Address Telephone,5552293326\"\n\"Address Id,7\"\n\"Address Customer id,8\"\n\"Address Default billing,1\"\n\"Address Default shipping,1\"\n"},{"id":"19e83cef-399f-4827-aa36-15d666124dbe","name":"Download Data XML Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/gdpr/downloadCustomData/:type","host":["{{magento_base_url}}"],"path":["rest","V1","gdpr","downloadCustomData",":type"],"variable":[{"key":"type","value":"xml"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Feb 2022 03:16:47 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"public"},{"key":"Set-Cookie","value":"PHPSESSID=logdrkk7cb032o93ks37rq5d27; expires=Mon, 28-Feb-2022 04:16:47 GMT; Max-Age=3600; path=/dangmaianh/ce243p1b/pub; domain=dev.mageplaza.vn; HttpOnly; SameSite=Lax"},{"key":"Content-Length","value":"2486"},{"key":"Content-Description","value":"File Transfer"},{"key":"Content-Transfer-Encoding","value":"binary"},{"key":"Content-Disposition","value":"attachment; filename=\"customer_data.xml\""},{"key":"Last-Modified","value":"Mon, 28 Feb 2022 03:16:47 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3501193"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\"?><?mso-application progid=\"Excel.Sheet\"?><Workbook xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:x=\"urn:schemas-microsoft-com:office:excel\" xmlns:x2=\"http://schemas.microsoft.com/office/excel/2003/xml\" xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\" xmlns:o=\"urn:schemas-microsoft-com:office:office\" xmlns:html=\"http://www.w3.org/TR/REC-html40\" xmlns:c=\"urn:schemas-microsoft-com:office:component:spreadsheet\"><OfficeDocumentSettings xmlns=\"urn:schemas-microsoft-com:office:office\"></OfficeDocumentSettings><ExcelWorkbook xmlns=\"urn:schemas-microsoft-com:office:excel\"></ExcelWorkbook><Worksheet ss:Name=\"Sheet 1\"><Table><Row></Row><Row></Row><Row></Row><Row><Cell><Data ss:Type=\"String\">Website id,1</Data></Cell><Cell><Data ss:Type=\"String\">Email,roni_cost@example.com</Data></Cell><Cell><Data ss:Type=\"String\">Group id,1</Data></Cell><Cell><Data ss:Type=\"String\">Store id,1</Data></Cell><Cell><Data ss:Type=\"String\">Created at,Feb 27, 2022, 9:13:03 PM</Data></Cell><Cell><Data ss:Type=\"String\">Updated at,Feb 27, 2022, 9:13:19 PM</Data></Cell><Cell><Data ss:Type=\"String\">Disable auto group change,0</Data></Cell><Cell><Data ss:Type=\"String\">Created in,Default Store View</Data></Cell><Cell><Data ss:Type=\"String\">Firstname,Veronica</Data></Cell><Cell><Data ss:Type=\"String\">Lastname,Costello</Data></Cell><Cell><Data ss:Type=\"String\">Default billing,7</Data></Cell><Cell><Data ss:Type=\"String\">Default shipping,7</Data></Cell><Cell><Data ss:Type=\"String\">Id,8</Data></Cell><Cell><Data ss:Type=\"String\">Address Firstname,Veronica</Data></Cell><Cell><Data ss:Type=\"String\">Address Lastname,Costello</Data></Cell><Cell><Data ss:Type=\"String\">Address Street,6146 Honey Bluff Parkway</Data></Cell><Cell><Data ss:Type=\"String\">Address Country id,US</Data></Cell><Cell><Data ss:Type=\"String\">Address Region,Michigan,MI,33</Data></Cell><Cell><Data ss:Type=\"String\">Address Region id,33</Data></Cell><Cell><Data ss:Type=\"String\">Address City,Calder</Data></Cell><Cell><Data ss:Type=\"String\">Address Postcode,49628-7978</Data></Cell><Cell><Data ss:Type=\"String\">Address Telephone,5552293326</Data></Cell><Cell><Data ss:Type=\"String\">Address Id,7</Data></Cell><Cell><Data ss:Type=\"String\">Address Customer id,8</Data></Cell><Cell><Data ss:Type=\"String\">Address Default billing,1</Data></Cell><Cell><Data ss:Type=\"String\">Address Default shipping,1</Data></Cell></Row></Table></Worksheet></Workbook>"}],"_postman_id":"50e65475-af19-4c69-9fb1-d5e3856c62ce"},{"name":"Check Password","id":"5901dd2c-bd4e-475c-b963-0dcd2b6652e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"roni_cost@example.com\",\r\n  \"password\": \"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}/rest/V1/gdpr/checkPassword","urlObject":{"path":["rest","V1","gdpr","checkPassword"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"afd5fe84-d021-4d05-9d9b-c5f0947b7467","name":"Check Password Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"roni_cost@example.com\",\r\n  \"password\": \"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}/rest/V1/gdpr/checkPassword"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Feb 2022 03:17:59 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3365688"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"5901dd2c-bd4e-475c-b963-0dcd2b6652e3"},{"name":"Get Cookie","id":"a3411500-68c0-4e03-b903-2912caeee8a8","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/gdpr/cookie/","urlObject":{"path":["rest","V1","gdpr","cookie",""],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6d599e4a-629b-4517-bf8d-b815b7673178","name":"Get Cookie 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/gdpr/cookie/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 01:59:38 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"935"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3087106"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"output\": {\n        \"html_class\": \"gdpr-cookie bottom\",\n        \"cookie_message\": \"\\n                        <p>\\n                            <strong>We use cookies to make your experience better.</strong>\\n                            <span>To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies.</span>\\n                            <a href=\\\"http://dev.mageplaza.vn:8080/dangmaianh/ce243p1b/pub/about-us/\\\">Learn more</a>\\n                        </p>\\n                    \",\n        \"cookie_button_text\": \"Allow Cookies\",\n        \"cookie_policy_url\": \"http://dev.mageplaza.vn:8080/dangmaianh/ce243p1b/pub/about-us/\",\n        \"custom_css\": \".gdpr-cookie{text-align: center}\",\n        \"is_block_access\": \"1\"\n    },\n    \"check_cookie_enable\": \"1\",\n    \"cookie_name\": \"user_allowed_save_cookie\",\n    \"cookie_value\": \"{\\\"1\\\":1}\",\n    \"cookie_lifetime\": \"31536000\",\n    \"no_cookies_url\": \"http://dev.mageplaza.vn:8080/dangmaianh/ce243p1b/pub/cookie/index/noCookies/\"\n}"}],"_postman_id":"a3411500-68c0-4e03-b903-2912caeee8a8"},{"name":"Delete Default Address by addressId","id":"53295518-ca7a-4e8a-971b-ec83577fb084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"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"}],"url":"{{magento_base_url}}/rest/V1/gdpr/deleteDefaultAddress/:addressId","urlObject":{"path":["rest","V1","gdpr","deleteDefaultAddress",":addressId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"any","value":"4","key":"addressId"}]}},"response":[{"id":"3d5bb288-7f17-4b81-ad98-9186ea43da6b","name":"Delete Default Address by addressId Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/gdpr/deleteDefaultAddress/:addressId","host":["{{magento_base_url}}"],"path":["rest","V1","gdpr","deleteDefaultAddress",":addressId"],"variable":[{"key":"addressId","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Feb 2022 06:53:38 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"2997649"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"53295518-ca7a-4e8a-971b-ec83577fb084"},{"name":"Delete Customer Account","id":"58068f78-8545-46ca-9ce4-b4a624f3cfa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"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":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/gdpr/deleteCustomerAccount","urlObject":{"path":["rest","V1","gdpr","deleteCustomerAccount"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"37b7e694-9dee-488f-8f53-b51ddbc2647b","name":"Delete Customer Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/gdpr/deleteCustomerAccount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Feb 2022 06:45:19 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=rrndjnhos862dhq6mgafpqfgs1; expires=Fri, 25-Feb-2022 07:45:19 GMT; Max-Age=3600; path=/dangmaianh/ce243p1b/pub; domain=dev.mageplaza.vn; HttpOnly; SameSite=Lax"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"32"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"3076160"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"Customer id 3 has been deleted\""}],"_postman_id":"58068f78-8545-46ca-9ce4-b4a624f3cfa9"}]}