{"info":{"_postman_id":"000416f2-1a47-4752-b840-9ee7b298ee02","name":"GraphQL SMS Notification","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"000416f2-1a47-4752-b840-9ee7b298ee02","publishedId":"TVmFifTs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-25T02:25:35.000Z"},"item":[{"name":"Register Notification","id":"8f284a07-1e96-496b-bed6-e6d44b34a164","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":"graphql","graphql":{"query":"mutation{\r\n  MpSmsNotificationSignUp(input: {is_behavior: true,\r\n    is_order: true})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5140c263-c328-413b-ac59-e3a199f5b5b2","name":"Register Notification Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n  MpSmsNotificationSignUp(input: {is_behavior: true,\r\n    is_order: true})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Nov 2020 10:32:17 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sun, 24 Nov 2019 10:32:18 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=cb4k3h77n8v9olhtn21fuc6740; expires=Tue, 24-Nov-2020 11:32:17 GMT; Max-Age=3600; path=/thu/ce236a; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=bd680ca8d5a25526fe5426387b47eb08; expires=Fri, 22-Nov-2030 10:32:17 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"41"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"MpSmsNotificationSignUp\": true\n    }\n}"}],"_postman_id":"8f284a07-1e96-496b-bed6-e6d44b34a164"},{"name":"Get Configs","id":"14b8388e-78e3-4c0f-a81e-13c438948d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  MpSmsNotificationGetConfig(storeId:2){\r\n    general {\r\n      enabled\r\n      verify_phone_number\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"eeaa7671-f9b8-4017-ba7f-aa7375e817de","name":"Get Configs Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  MpSmsNotificationGetConfig(storeId:1){\r\n    general {\r\n      enabled\r\n      verify_phone_number\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Nov 2020 08:53:22 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Set-Cookie","value":"PHPSESSID=ov3q6o4irn0tm5ueh7c2ose9ai; expires=Tue, 24-Nov-2020 09:53:23 GMT; Max-Age=3600; path=/thu/ce236a; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=021515e2298be57b002f1ace2eea84fa; expires=Fri, 22-Nov-2030 08:53:23 GMT; Max-Age=315360000; path=/"},{"key":"Expires","value":"Sun, 24 Nov 2019 08:53:23 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"95"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"MpSmsNotificationGetConfig\": {\n            \"general\": {\n                \"enabled\": true,\n                \"verify_phone_number\": true\n            }\n        }\n    }\n}"}],"_postman_id":"14b8388e-78e3-4c0f-a81e-13c438948d66"},{"name":"Check Verify","id":"c7bed48d-7ecd-425d-ae93-917edd9a79df","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":"graphql","graphql":{"query":"mutation{\r\n MpSmsNotificationCheckVerify(input:{\r\n  telephone: \"+84389438448\"\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c4591557-454c-4717-9b4a-6ac1d56fd412","name":"Check Verify Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\n MpSmsNotificationCheckVerify(input:{\r\n  telephone: \"+84389438448\"\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Nov 2020 10:35:54 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sun, 24 Nov 2019 10:35:54 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=cb4k3h77n8v9olhtn21fuc6740; expires=Tue, 24-Nov-2020 11:35:54 GMT; Max-Age=3600; path=/thu/ce236a; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=74eb3ba4a2f57901ca154dccf04cb845; expires=Fri, 22-Nov-2030 10:35:54 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"46"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"MpSmsNotificationCheckVerify\": true\n    }\n}"}],"_postman_id":"c7bed48d-7ecd-425d-ae93-917edd9a79df"},{"name":"Send OTP","id":"fb157666-3d73-41ee-8a28-3ca5620773b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\nMpSmsNotificationSend(input:{\r\n  telephone: \"+84389438448\"\r\n  store_id: 0\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce69b7e9-345f-48ff-af8f-d9fa427ede7f","name":"Send OTP Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\nMpSmsNotificationSend(input:{\r\n  telephone: \"+84389438448\"\r\n  store_id: 0\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Nov 2020 02:01:05 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Set-Cookie","value":"PHPSESSID=fo1jkahmfeubglt53mjj2jh12n; expires=Wed, 25-Nov-2020 03:01:05 GMT; Max-Age=3600; path=/thu/ce240a; domain=192.168.1.200; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=114354c52fadcd737a4051e18b4dfd7e; expires=Sat, 23-Nov-2030 02:01:05 GMT; Max-Age=315360000; path=/"},{"key":"Expires","value":"Mon, 25 Nov 2019 02:01:06 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"39"},{"key":"Content-Type","value":"application/json"},{"key":"X-Varnish","value":"365202"},{"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    \"data\": {\n        \"MpSmsNotificationSend\": true\n    }\n}"}],"_postman_id":"fb157666-3d73-41ee-8a28-3ca5620773b1"},{"name":"Verify Telephone","id":"97407838-3756-4896-9d02-201fc40e8e70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\nMpSmsNotificationCheckTelephone(input:{\r\n  telephone: \"+84389438448\"\r\n  code_OTP: \"344086\"\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6e023678-2329-421d-9f4e-6cfc3beda0b6","name":"Verify Telephone Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation{\r\nMpSmsNotificationCheckTelephone(input:{\r\n  telephone: \"+84389438448\"\r\n  code_OTP: \"344086\"\r\n})\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Nov 2020 02:02:45 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Expires","value":"Mon, 25 Nov 2019 02:02:45 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=fo1jkahmfeubglt53mjj2jh12n; expires=Wed, 25-Nov-2020 03:02:45 GMT; Max-Age=3600; path=/thu/ce240a; domain=192.168.1.200; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=a2ec7505125781cbc5a0eb8ee240b4cb; expires=Sat, 23-Nov-2030 02:02:45 GMT; Max-Age=315360000; path=/"},{"key":"X-Magento-Tags","value":"FPC"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"49"},{"key":"Content-Type","value":"application/json"},{"key":"X-Varnish","value":"36627"},{"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    \"data\": {\n        \"MpSmsNotificationCheckTelephone\": true\n    }\n}"}],"_postman_id":"97407838-3756-4896-9d02-201fc40e8e70"}]}