{"info":{"_postman_id":"05a2ffcd-7c2e-43de-80e8-fdab9168b011","name":"Magento 2 Call For Price","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3709944","collectionId":"05a2ffcd-7c2e-43de-80e8-fdab9168b011","publishedId":"2sBXwsKpsM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-11T04:48:41.000Z"},"item":[{"name":"Rest API","item":[{"name":"get product by id","id":"0de74022-4713-4233-9f45-88a51e55b61e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/rest/all/V1/callforprice/productcollection/?product_id=1&website_id=2","urlObject":{"path":["rest","all","V1","callforprice","productcollection",""],"host":["{{base_url}}"],"query":[{"key":"product_id","value":"1"},{"key":"website_id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"0de74022-4713-4233-9f45-88a51e55b61e"},{"name":"get product by category","id":"4e15a20a-92b0-4745-bfb5-35dffafd8a95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/rest/all/V1/callforprice/categorycollection/?category_id=3&website_id=1","urlObject":{"path":["rest","all","V1","callforprice","categorycollection",""],"host":["{{base_url}}"],"query":[{"key":"category_id","value":"3"},{"key":"website_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"4e15a20a-92b0-4745-bfb5-35dffafd8a95"},{"name":"Magento Get products by sku","id":"a3975608-2297-4d48-a86a-1235cb4f097a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"accept","value":"application/json"}],"url":"{{base_url}}/rest/all/V1/products/purse?storeId=1","urlObject":{"path":["rest","all","V1","products","purse"],"host":["{{base_url}}"],"query":[{"key":"storeId","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a3975608-2297-4d48-a86a-1235cb4f097a"},{"name":"Magento Get Category by Id","id":"fd1ba2df-0984-49de-88d6-1f3fcce57ce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/rest/V1/categories/3?storeId=1","urlObject":{"path":["rest","V1","categories","3"],"host":["{{base_url}}"],"query":[{"key":"storeId","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fd1ba2df-0984-49de-88d6-1f3fcce57ce7"},{"name":"save data","id":"33169e9b-c787-4681-b562-7e59be002079","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"fgdg\",\n  \"product_id\": 3,\n  \"email\": \"magecomp.projectteam@gmail.com\",\n  \"country\": \"india\",\n  \"telephone\": 1234567890,\n  \"comment\": \"sdjfhskjfhsdjkfuijk\",\n  \"website_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/rest/all/V1/callforprice/emailtemplate/","urlObject":{"path":["rest","all","V1","callforprice","emailtemplate",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33169e9b-c787-4681-b562-7e59be002079"},{"name":"Get Config Data","id":"a5c2ddc7-1d96-4bc0-b9e4-3310447d3cfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"website_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/rest/all/V1/callforprice/getconfig","urlObject":{"path":["rest","all","V1","callforprice","getconfig"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5c2ddc7-1d96-4bc0-b9e4-3310447d3cfa"}],"id":"89167ab0-ece5-4cb9-bbe4-4fe74cff66d5","_postman_id":"89167ab0-ece5-4cb9-bbe4-4fe74cff66d5","description":""},{"name":"GraphQl API","item":[{"name":"get product by id","id":"4ad98cf5-5833-4207-8297-9c2c7a2b286f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  productCollection(product_id: 1, website_id: 1) {\n    status\n    message\n    callforpricestatus\n    button_text\n    custom_message\n  }\n}\n","operationName":"","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ad98cf5-5833-4207-8297-9c2c7a2b286f"},{"name":"get product by category","id":"629232e2-60eb-4a9d-8410-7d004b2e91f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  categoryCollection(category_id: 1, website_id: 1) {\n    status\n    message\n    categoryid\n    isCallForPrice\n    buttontext\n  }\n}\n","operationName":"","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"629232e2-60eb-4a9d-8410-7d004b2e91f6"},{"name":"save data","id":"01d884a7-56d3-4662-a807-eaf237309506","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  getTemplate(\n    name: \"John Doe\"\n    product_id: 1\n    email: \"test@example.com\"\n    country: \"US\"\n    telephone: \"1234567890\"\n    comment: \"Test\"\n    website_id: 1\n  ) {\n    status\n    message\n  }\n}\n","operationName":"","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01d884a7-56d3-4662-a807-eaf237309506"},{"name":"Get Config Data","id":"f297a061-c995-4a4e-9308-1691ceef48c4","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    callforprice_config {\n      status\n      message\n      enable\n      button_text\n      name_field_length\n      phoneno_field_length\n      popup_form_heading_title\n      popup_form_success_msg\n      popup_form_error_msg\n      enable_custom_message_status\n      custom_message_instead_price\n      call_for_price_apply_on\n      customer_group\n      store_view\n      admin_email_to\n      admin_email_sender\n      admin_email_template\n      auto_reply_email_status\n      auto_reply_email_sender\n      auto_reply_email_template\n      google_recaptcha_status\n      google_recaptcha_sitekey\n      google_recaptcha_secretkey\n    }\n  }\n}\n","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f297a061-c995-4a4e-9308-1691ceef48c4"}],"id":"22857b1c-2ff0-4f99-ad64-4fe9755b8597","_postman_id":"22857b1c-2ff0-4f99-ad64-4fe9755b8597","description":""}]}