{"id":335948,"date":"2022-05-31T15:24:27","date_gmt":"2022-05-31T15:24:27","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=335948"},"modified":"2026-03-06T13:44:47","modified_gmt":"2026-03-06T13:44:47","slug":"how-to-work-with-magentos-rest-api-in-next-js","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/","title":{"rendered":"How to work with Magento&#8217;s Rest API in Next js"},"content":{"rendered":"\n<p>This blog will show an example of how we can implement Rest API in the next js with Magento 2.<\/p>\n\n\n\n<p>We can easily create a REST API in our Next.js app by using the built-in API routes. <\/p>\n\n\n\n<p>Also, <a href=\"https:\/\/webkul.com\/magento2-headless-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Headless Development<\/a>&nbsp;services will help you to gain access to the headless development architecture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">About Rest API<\/h2>\n\n\n\n<p><em>REST<\/em>\u00a0stands for\u00a0<em>Representational State Transfer<\/em>. <\/p>\n\n\n\n<p>It\u2019s a software architectural style for implementing\u00a0<em>web services<\/em>.\u00a0<em>Web services<\/em>\u00a0implemented using the\u00a0<em>REST<\/em>\u00a0architectural style are known as the\u00a0<em>RESTful web services<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create an app in Next js<\/h2>\n\n\n\n<p>To create the Next app you can visit our blog by <a href=\"https:\/\/webkul.com\/blog\/how-to-create-next-app\/\">clicking here.<\/a><\/p>\n\n\n\n<p>We are also giving here commands to create the next app simply.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">npx create-next-app rest_app\n# or\nyarn create next-app rest_app<\/pre>\n\n\n\n<p>After the installation follows the below steps to use Rest API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Rest API implementation with Magento 2<\/h2>\n\n\n\n<p>Simply we can use Magento API using the below steps:<\/p>\n\n\n\n<p>Create a page in pages folder pages\/getToken.js and use the below code in your page.<\/p>\n\n\n\n<p>For example, here we are getting customer token. To get the token we have to send username and password to validate at the Magento end. <\/p>\n\n\n\n<p>Details must be correct else you will get this message: &#8220;The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.&#8221;<\/p>\n\n\n\n<p>Let&#8217;s create a page with pages\/getToken.js<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">import React, { useState, useEffect } from &quot;react&quot;;\n\nconst getToken = () =&gt; {\n  const &#091;token, setToken] = useState();\n  const credentials = {\n    username: &quot;email&quot;,\n    password: &quot;password&quot;,\n  };\n\n  useEffect(() =&gt; {\n    try {\n      fetch(\n        &quot;http:\/\/yourhost.com\/rest\/V1\/integration\/customer\/token&quot;,\n        {\n          method: &quot;POST&quot;,\n          headers: {\n            &quot;Content-Type&quot;: &quot;application\/json&quot;,\n          },\n          body: JSON.stringify(credentials),\n        }\n      )\n        .then((res) =&gt; res.json())\n        .then((data) =&gt; {\n          setToken(data); \/\/ Here we are setting token in state to use in our component.\n        });\n    } catch (error) {\n      console.error(error);\n    }\n  }, &#091;]);\n  return (\n    &lt;div style={{ color: &quot;green&quot;, textAlign: &quot;center&quot;, fontWeight: &quot;700&quot; }}&gt;\n      {token ? &quot;Customer Token: &quot; + token : &quot;Loading...&quot;}\n    &lt;\/div&gt;\n  );\n};\n\nexport default getToken;<\/pre>\n\n\n\n<p>Result will be like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png\" alt=\"Screenshot-from-2022-05-31-20-33-23\" class=\"wp-image-337700\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-300x169.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-250x141.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-768x432.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23.png 1366w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">On Loading result<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24-1200x675.png\" alt=\"Screenshot-from-2022-05-31-20-33-24\" class=\"wp-image-337701\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24-1200x675.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24-300x169.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24-250x141.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24-768x432.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-24.png 1366w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Result with customer token<\/figcaption><\/figure>\n\n\n\n<p>In the above code, we are using the <a href=\"https:\/\/reactjs.org\/docs\/hooks-state.html\">useState<\/a> hook to display customer token and <a href=\"https:\/\/reactjs.org\/docs\/hooks-effect.html\">useEffect<\/a> hook is used to handle the request. We have passed a [] array to call it once.<\/p>\n\n\n\n<p>Just copy and use it by changing your host and user credentials.<\/p>\n\n\n\n<p>If you face any issues regarding this blog then please comment below.<\/p>\n\n\n\n<p>Happy coding \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes. Also, Magento 2 Headless Development&nbsp;services will help you to gain access to the headless development architecture. About Rest <a href=\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":377,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[198,9121,6357],"tags":[2460,12572,7895],"class_list":["post-335948","post","type-post","status-publish","format-standard","hentry","category-javascript","category-magento-2","category-react-js","tag-magento-2","tag-next-js","tag-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to work with Magento&#039;s Rest API in Next js - Webkul Blog<\/title>\n<meta name=\"description\" content=\"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to work with Magento&#039;s Rest API in Next js - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-31T15:24:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-06T13:44:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png\" \/>\n<meta name=\"author\" content=\"Rahul Chaudhary\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rahul Chaudhary\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\"},\"author\":{\"name\":\"Rahul Chaudhary\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75\"},\"headline\":\"How to work with Magento&#8217;s Rest API in Next js\",\"datePublished\":\"2022-05-31T15:24:27+00:00\",\"dateModified\":\"2026-03-06T13:44:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\"},\"wordCount\":302,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png\",\"keywords\":[\"Magento 2\",\"Next.js\",\"react\"],\"articleSection\":[\"JavaScript\",\"Magento 2\",\"react js\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\",\"name\":\"How to work with Magento's Rest API in Next js - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png\",\"datePublished\":\"2022-05-31T15:24:27+00:00\",\"dateModified\":\"2026-03-06T13:44:47+00:00\",\"description\":\"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23.png\",\"width\":1366,\"height\":768,\"caption\":\"Screenshot-from-2022-05-31-20-33-23\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to work with Magento&#8217;s Rest API in Next js\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75\",\"name\":\"Rahul Chaudhary\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Rahul Chaudhary\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/rahulchaudhary766\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to work with Magento's Rest API in Next js - Webkul Blog","description":"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/","og_locale":"en_US","og_type":"article","og_title":"How to work with Magento's Rest API in Next js - Webkul Blog","og_description":"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes","og_url":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-05-31T15:24:27+00:00","article_modified_time":"2026-03-06T13:44:47+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png","type":"","width":"","height":""}],"author":"Rahul Chaudhary","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Rahul Chaudhary","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/"},"author":{"name":"Rahul Chaudhary","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75"},"headline":"How to work with Magento&#8217;s Rest API in Next js","datePublished":"2022-05-31T15:24:27+00:00","dateModified":"2026-03-06T13:44:47+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/"},"wordCount":302,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png","keywords":["Magento 2","Next.js","react"],"articleSection":["JavaScript","Magento 2","react js"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/","url":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/","name":"How to work with Magento's Rest API in Next js - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23-1200x675.png","datePublished":"2022-05-31T15:24:27+00:00","dateModified":"2026-03-06T13:44:47+00:00","description":"This blog will show an example of how we can implement Rest API in the next js with Magento 2. We can easily create a REST API in our Next.js app by using the built-in API routes","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-31-20-33-23.png","width":1366,"height":768,"caption":"Screenshot-from-2022-05-31-20-33-23"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-work-with-magentos-rest-api-in-next-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to work with Magento&#8217;s Rest API in Next js"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75","name":"Rahul Chaudhary","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Rahul Chaudhary"},"url":"https:\/\/webkul.com\/blog\/author\/rahulchaudhary766\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/335948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/377"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=335948"}],"version-history":[{"count":9,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/335948\/revisions"}],"predecessor-version":[{"id":529571,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/335948\/revisions\/529571"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=335948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=335948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=335948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}