{"id":162765,"date":"2019-02-16T11:18:56","date_gmt":"2019-02-16T11:18:56","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=162765"},"modified":"2024-03-01T11:46:25","modified_gmt":"2024-03-01T11:46:25","slug":"how-to-save-and-get-source-inventory-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/","title":{"rendered":"How to save and get source inventory in Magento 2"},"content":{"rendered":"\n<p>In Magento 2.3, a new feature was introduced&nbsp;<a href=\"https:\/\/webkul.com\/blog\/introduction-to-magento2-multi-source-inventory\/\" target=\"_blank\" rel=\"noreferrer noopener\">Multi-Source Inventory<\/a> aka MSI. It changes how the product inventory works. With this feature, a product can be assigned multiple sources and each source can have a different quantity of the product.<\/p>\n\n\n\n<p>In this blog, I will explain how to save product quantities for multiple sources and how to retrieve the saved quantities. Here I will create a product with SKU &#8220;test_product&#8221;&nbsp;and two sources with source code &#8220;<em>test_source<\/em>&#8221; and &#8220;<em>test_source2<\/em>&#8220;. Please make sure that you have added the sources in the stock and selected the source channel in the stock.<\/p>\n\n\n\n<p><strong>1. Save product quantities for multiple sources<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function __construct(\n    .....\n    \\Magento\\InventoryCatalogApi\\Model\\SourceItemsProcessorInterface $sourceItemsProcessor\n) {\n    .....\n    $this-&gt;sourceItemsProcessor = $sourceItemsProcessor;\n}\n\npublic function execute()\n{\n    $data = &#091;\n        &#091;&#039;source_code&#039;=&gt;&#039;test_source&#039;, &#039;status&#039;=&gt;1, &#039;quantity&#039;=&gt;50],\n        &#091;&#039;source_code&#039;=&gt;&#039;test_source2&#039;, &#039;status&#039;=&gt;1, &#039;quantity&#039;=&gt;80]\n    ];\n    \n    $this-&gt;sourceItemsProcessor-&gt;execute(\n        &#039;test_product&#039;,\n        $data\n    );\n}<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1198\" height=\"568\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\" alt=\"Output of above code\" class=\"wp-image-162768\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png 1198w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519-250x119.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519-300x142.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519-768x364.png 768w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Please note that if you want to update the quantity for a single product then you can not just pass a single array in the data. If you do then it will remove the previous sources. So now if you do,<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$data = &#091;\n    &#091;&#039;source_code&#039;=&gt;&#039;test_source&#039;, &#039;status&#039;=&gt;1, &#039;quantity&#039;=&gt;100]\n];\n\n$this-&gt;sourceItemsProcessor-&gt;process(\n    &#039;test_product&#039;,\n    $data\n);<\/pre>\n\n\n\n<p>then it will remove the other source like shown below<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1202\" height=\"437\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520.png\" alt=\"Output of above code\" class=\"wp-image-162769\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520.png 1202w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520-250x91.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520-300x109.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520-768x279.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_520-1200x436.png 1200w\" sizes=\"(max-width: 1202px) 100vw, 1202px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>2. Get the product&#8217;s multi-source quantities<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function __construct(\n    ......\n    \\Magento\\InventoryCatalogAdminUi\\Model\\GetSourceItemsDataBySku $sourceDataBySku\n) {\n    ......\n    $this-&gt;sourceDataBySku = $sourceDataBySku;\n}\n\npublic function execute()\n{\n    $data = $this-&gt;sourceDataBySku-&gt;execute(&#039;test_product&#039;);\n}<\/pre>\n\n\n\n<p>It returns the source-wise quantities in the array.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Array\n(\n    &#091;0] =&gt; Array\n        (\n            &#091;source_code] =&gt; test_source\n            &#091;quantity] =&gt; 50\n            &#091;status] =&gt; 1\n            &#091;name] =&gt; Test Source\n            &#091;source_status] =&gt; 1\n        )\n\n    &#091;1] =&gt; Array\n        (\n            &#091;source_code] =&gt; test_source2\n            &#091;quantity] =&gt; 80\n            &#091;status] =&gt; 1\n            &#091;name] =&gt; Test Source 2\n            &#091;source_status] =&gt; 1\n        )\n\n)<\/pre>\n\n\n\n<p>To get the saleable quantity you can check,<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-photo is-provider-webkul-blog wp-block-embed-webkul-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/webkul.com\/blog\/get-salable-quantity-in-magento-2-3\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In Magento 2.3, a new feature was introduced&nbsp;Multi-Source Inventory aka MSI. It changes how the product inventory works. With this feature, a product can be assigned multiple sources and each source can have a different quantity of the product. In this blog, I will explain how to save product quantities for multiple sources and how <a href=\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":201,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[7034,7032,7033,4420],"class_list":["post-162765","post","type-post","status-publish","format-standard","hentry","category-magento2","tag-magento-2-3","tag-msi","tag-multi-source-inventory","tag-product-quantity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to save and get source inventory in Magento 2 - Webkul Blog<\/title>\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-save-and-get-source-inventory-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to save and get source inventory in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In Magento 2.3, a new feature was introduced&nbsp;Multi-Source Inventory aka MSI. It changes how the product inventory works. With this feature, a product can be assigned multiple sources and each source can have a different quantity of the product. In this blog, I will explain how to save product quantities for multiple sources and how [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\" \/>\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=\"2019-02-16T11:18:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-01T11:46:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\" \/>\n<meta name=\"author\" content=\"Sanjay Chouhan\" \/>\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=\"Sanjay Chouhan\" \/>\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-save-and-get-source-inventory-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\"},\"author\":{\"name\":\"Sanjay Chouhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462\"},\"headline\":\"How to save and get source inventory in Magento 2\",\"datePublished\":\"2019-02-16T11:18:56+00:00\",\"dateModified\":\"2024-03-01T11:46:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\"},\"wordCount\":196,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\",\"keywords\":[\"magento 2.3\",\"msi\",\"Multi Source Inventory\",\"product quantity\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\",\"name\":\"How to save and get source inventory in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\",\"datePublished\":\"2019-02-16T11:18:56+00:00\",\"dateModified\":\"2024-03-01T11:46:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png\",\"width\":1198,\"height\":568},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to save and get source inventory in Magento 2\"}]},{\"@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\/645580979f637b0e355deea21bd07462\",\"name\":\"Sanjay Chouhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?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\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sanjay Chouhan\"},\"sameAs\":[\"https:\/\/www.instagram.com\/sanjaychouhansc\/\",\"https:\/\/in.linkedin.com\/in\/scchouhansanjay\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/sanjay-chouhan180\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to save and get source inventory in Magento 2 - Webkul Blog","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-save-and-get-source-inventory-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to save and get source inventory in Magento 2 - Webkul Blog","og_description":"In Magento 2.3, a new feature was introduced&nbsp;Multi-Source Inventory aka MSI. It changes how the product inventory works. With this feature, a product can be assigned multiple sources and each source can have a different quantity of the product. In this blog, I will explain how to save product quantities for multiple sources and how [...]","og_url":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-02-16T11:18:56+00:00","article_modified_time":"2024-03-01T11:46:25+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png","type":"","width":"","height":""}],"author":"Sanjay Chouhan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sanjay Chouhan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/"},"author":{"name":"Sanjay Chouhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462"},"headline":"How to save and get source inventory in Magento 2","datePublished":"2019-02-16T11:18:56+00:00","dateModified":"2024-03-01T11:46:25+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/"},"wordCount":196,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png","keywords":["magento 2.3","msi","Multi Source Inventory","product quantity"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/","name":"How to save and get source inventory in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png","datePublished":"2019-02-16T11:18:56+00:00","dateModified":"2024-03-01T11:46:25+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/02\/Screenshot_519.png","width":1198,"height":568},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-save-and-get-source-inventory-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to save and get source inventory in Magento 2"}]},{"@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\/645580979f637b0e355deea21bd07462","name":"Sanjay Chouhan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?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\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sanjay Chouhan"},"sameAs":["https:\/\/www.instagram.com\/sanjaychouhansc\/","https:\/\/in.linkedin.com\/in\/scchouhansanjay"],"url":"https:\/\/webkul.com\/blog\/author\/sanjay-chouhan180\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/162765","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\/201"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=162765"}],"version-history":[{"count":12,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/162765\/revisions"}],"predecessor-version":[{"id":425600,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/162765\/revisions\/425600"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=162765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=162765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=162765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}