{"info":{"_postman_id":"1ec3b376-06b2-41ac-a941-7a111b484958","name":"Magento 2 Force Login","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3709944","collectionId":"1ec3b376-06b2-41ac-a941-7a111b484958","publishedId":"2sBY4LRMSm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-10T11:09:00.000Z"},"item":[{"name":"REST API","item":[{"name":"getConfigData","id":"6ae5327f-a067-4014-9407-b8fea481a57e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseurl}}/rest/all/V1/custom/forcelogin-api/getConfigData?store_id=1","urlObject":{"path":["rest","all","V1","custom","forcelogin-api","getConfigData"],"host":["{{baseurl}}"],"query":[{"key":"store_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6ae5327f-a067-4014-9407-b8fea481a57e"},{"name":"getforcelogin-api","id":"2bf08650-9945-4af5-9b0c-24266dcc89cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseurl}}/rest/all/V1/custom/forcelogin-api/?store_id=1","urlObject":{"path":["rest","all","V1","custom","forcelogin-api",""],"host":["{{baseurl}}"],"query":[{"key":"store_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2bf08650-9945-4af5-9b0c-24266dcc89cc"}],"id":"459d3580-9b53-40d3-ad82-e7197266370c","_postman_id":"459d3580-9b53-40d3-ad82-e7197266370c","description":""},{"name":"Graphql API","item":[{"name":"getConfigData","id":"1a7f737f-38ff-42f4-ac71-2ec546e84137","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Store","value":"default","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  storeConfig {\n    forcelogin_config {\n      status\n      message\n      enable\n      redirect_url\n      force_login_alert_message\n      enable_force_login_for_category\n      select_categories\n      enable_force_login_for_cms_pages\n      select_cms_pages\n    }\n  }\n}\n","variables":""}},"url":"{{baseurl}}/graphql","urlObject":{"path":["graphql"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a7f737f-38ff-42f4-ac71-2ec546e84137"},{"name":"New Request","id":"b5ec2487-c5a3-4ed8-8e27-90d69341721d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  forceloginDataByStoreId(store_id: 1) {\n    status\n    message\n    records {\n      id\n      title\n      restrict_cust_link\n      redirect_to_link\n      custom_message\n      store_id\n    }\n  }\n}\n","variables":""}},"url":"{{baseurl}}/graphql","urlObject":{"path":["graphql"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5ec2487-c5a3-4ed8-8e27-90d69341721d"}],"id":"a908f935-ab6d-4bbd-ac05-286a78db3273","_postman_id":"a908f935-ab6d-4bbd-ac05-286a78db3273","description":""}]}