{"id":43574,"date":"2016-03-18T15:21:45","date_gmt":"2016-03-18T15:21:45","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=43574"},"modified":"2025-12-31T12:23:07","modified_gmt":"2025-12-31T12:23:07","slug":"update-product-stock-programmatically-in-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/","title":{"rendered":"Update product stock programmatically in magento2"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Here, we learn how to update product stock programmatically in Magento 2<\/h2>\n\n\n\n<p>To update product stock programmatically in Magento 2 is a common requirement when working with automated inventory systems, third-party integrations, or bulk product updates.<\/p>\n\n\n\n<p>This is essential for building advanced inventory workflows and integrations. You can automate stock updates, improve inventory accuracy, and ensure a smooth shopping experience for your customers.<\/p>\n\n\n\n<p>Magento 2 allows developers to update product stock using its inventory APIs and service contracts.  <\/p>\n\n\n\n<p>This ensures that Magento\u2019s default inventory logic\u2014such as out-of-stock handling, backorders, and stock notifications\u2014continues to function correctly.<\/p>\n\n\n\n<p>Here, we define a function in the helper file of the module to update product stock and use this function where we want to update product stock.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\nnamespace YourNameSpace\\ModuleName\\Helper;\n\nuse Magento\\Framework\\App\\Filesystem\\DirectoryList;\n\nclass Data extends \\Magento\\Framework\\App\\Helper\\AbstractHelper\n{\n    protected $_product;\n\n    \/**\n     * @var Magento\\CatalogInventory\\Api\\StockStateInterface \n     *\/\n    protected $_stockStateInterface;\n\n    \/**\n     * @var Magento\\CatalogInventory\\Api\\StockRegistryInterface \n     *\/\n    protected $_stockRegistry;\n\n    \/**\n    * @param Magento\\Framework\\App\\Helper\\Context $context\n    * @param Magento\\Catalog\\Model\\Product $product\n    * @param Magento\\CatalogInventory\\Api\\StockStateInterface $stockStateInterface,\n    * @param Magento\\CatalogInventory\\Api\\StockRegistryInterface $stockRegistry\n    *\/\n    public function __construct(\n        \\Magento\\Framework\\App\\Helper\\Context $context,\n        \\Magento\\Catalog\\Model\\Product $product,\n        \\Magento\\CatalogInventory\\Api\\StockStateInterface $stockStateInterface,\n        \\Magento\\CatalogInventory\\Api\\StockRegistryInterface $stockRegistry, \n    ) {\n        $this-&gt;_product = $product;\n        $this-&gt;_stockStateInterface = $stockStateInterface;\n        $this-&gt;_stockRegistry = $stockRegistry;\n        parent::__construct($context);\n    }\n\n    \/**\n     * For Update stock of product\n     * @param int $productId which stock you want to update\n     * @param array $stockData your updated data\n     * @return void \n    *\/\n    public function updateProductStock($productId,$stockData) {\n        $product=$this-&gt;_product-&gt;load($productId); \/\/load product which you want to update stock\n\t\t$stockItem=$this-&gt;_stockRegistry-&gt;getStockItem($productId); \/\/ load stock of that product\n\t\t$stockItem-&gt;setData(&#039;is_in_stock&#039;,$stockData&#091;&#039;is_in_stock&#039;]); \/\/set updated data as your requirement\n\t\t$stockItem-&gt;setData(&#039;qty&#039;,$stockData&#091;&#039;qty&#039;]); \/\/set updated quantity \n\t\t$stockItem-&gt;setData(&#039;manage_stock&#039;,$stockData&#091;&#039;manage_stock&#039;]);\n\t\t$stockItem-&gt;setData(&#039;use_config_notify_stock_qty&#039;,1);\n\t\t$stockItem-&gt;save(); \/\/save stock of item\n    }\n}<\/pre>\n\n\n\n<p>By using Magento\u2019s built-in inventory APIs and service contracts, you can update stock safely without modifying core files. <\/p>\n\n\n\n<p>This ensures better performance, upgrade compatibility, and seamless integration with Magento\u2019s default inventory features such as stock status, backorders, and notifications.<\/p>\n\n\n\n<p>I hope you liked it. Also, do check out <a href=\"https:\/\/store.webkul.com\/magento2-google-shopping-feed.html\">Magento 2 Google Shopping Feed extension<\/a>, which allows you to showcase your Magento 2 online store\u2019s products on Google using Shopping Feeds.<\/p>\n\n\n\n<p>For technical assistance, please get in touch with us via email at&nbsp;<a href=\"mailto:support@webkul.com\" target=\"_blank\" rel=\"noreferrer noopener\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p>Discover powerful solutions to enhance your Magento 2 store by exploring our&nbsp;<a href=\"https:\/\/store.webkul.com\/Magento-2.html\">Magento 2 plugins<\/a>&nbsp;page.<\/p>\n\n\n\n<p>Bring your vision to life with custom-built solutions\u2014hire skilled&nbsp;<a href=\"https:\/\/webkul.com\/hire-magento-developers\/\">Magento 2 developers<\/a>&nbsp;today.<\/p>\n\n\n\n<p>Happy Coding!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here, we learn how to update product stock programmatically in Magento 2 To update product stock programmatically in Magento 2 is a common requirement when working with automated inventory systems, third-party integrations, or bulk product updates. This is essential for building advanced inventory workflows and integrations. You can automate stock updates, improve inventory accuracy, and <a href=\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":4,"featured_media":43037,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,302],"tags":[1413,2890,1112,2891],"class_list":["post-43574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magento2","tag-inventory-management","tag-qty","tag-stock","tag-update"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Update product stock programmatically in magento2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.\" \/>\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\/update-product-stock-programmatically-in-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update product stock programmatically in magento2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\" \/>\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=\"2016-03-18T15:21:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-31T12:23:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abhishek Singh\" \/>\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=\"Abhishek Singh\" \/>\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\/update-product-stock-programmatically-in-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\"},\"author\":{\"name\":\"Abhishek Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0\"},\"headline\":\"Update product stock programmatically in magento2\",\"datePublished\":\"2016-03-18T15:21:45+00:00\",\"dateModified\":\"2025-12-31T12:23:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\"},\"wordCount\":248,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png\",\"keywords\":[\"Inventory Management\",\"qty\",\"stock\",\"update\"],\"articleSection\":[\"magento\",\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\",\"name\":\"Update product stock programmatically in magento2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png\",\"datePublished\":\"2016-03-18T15:21:45+00:00\",\"dateModified\":\"2025-12-31T12:23:07+00:00\",\"description\":\"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update product stock programmatically in magento2\"}]},{\"@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\/573e459f54796eb4195511990de4bfd0\",\"name\":\"Abhishek Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?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\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Abhishek Singh\"},\"description\":\"Adobe Commerce certified Magento developer with over 12 years of experience at Webkul. Passionate about scalable Magento 2-based webshops, AI, and multi-channel integrations, Abhishek consistently delivers innovative and efficient e-commerce solutions that propel businesses forward.\",\"sameAs\":[\"http:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/abhishek\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update product stock programmatically in magento2 - Webkul Blog","description":"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.","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\/update-product-stock-programmatically-in-magento2\/","og_locale":"en_US","og_type":"article","og_title":"Update product stock programmatically in magento2 - Webkul Blog","og_description":"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.","og_url":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-03-18T15:21:45+00:00","article_modified_time":"2025-12-31T12:23:07+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Abhishek Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Abhishek Singh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/"},"author":{"name":"Abhishek Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/573e459f54796eb4195511990de4bfd0"},"headline":"Update product stock programmatically in magento2","datePublished":"2016-03-18T15:21:45+00:00","dateModified":"2025-12-31T12:23:07+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/"},"wordCount":248,"commentCount":7,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png","keywords":["Inventory Management","qty","stock","update"],"articleSection":["magento","Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/","url":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/","name":"Update product stock programmatically in magento2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png","datePublished":"2016-03-18T15:21:45+00:00","dateModified":"2025-12-31T12:23:07+00:00","description":"Learn how to programmatically update product stock in Magento 2 using clean and efficient PHP code for better inventory management.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/update-product-stock-programmatically-in-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Update product stock programmatically in magento2"}]},{"@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\/573e459f54796eb4195511990de4bfd0","name":"Abhishek Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?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\/d4ac7e0e671bf743359d7e3f140c262d1b16d71106f0a1aeaecca327a2805ae4?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Abhishek Singh"},"description":"Adobe Commerce certified Magento developer with over 12 years of experience at Webkul. Passionate about scalable Magento 2-based webshops, AI, and multi-channel integrations, Abhishek consistently delivers innovative and efficient e-commerce solutions that propel businesses forward.","sameAs":["http:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/abhishek\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/43574","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=43574"}],"version-history":[{"count":11,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/43574\/revisions"}],"predecessor-version":[{"id":519722,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/43574\/revisions\/519722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/43037"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=43574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=43574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=43574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}