{"id":365925,"date":"2023-03-31T06:55:53","date_gmt":"2023-03-31T06:55:53","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=365925"},"modified":"2025-12-29T10:29:08","modified_gmt":"2025-12-29T10:29:08","slug":"schema-and-data-patches-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/","title":{"rendered":"Schema and data patches Magento 2"},"content":{"rendered":"\n<p>Patches in Magento 2 are classes containing schema and data manipulation instructions. <\/p>\n\n\n\n<p>Schema and data patches will only be applied once, unlike the <a href=\"https:\/\/webkul.com\/blog\/magento-development-03-creating-tables\/\">declarative schema<\/a> approach. A list of applied patches is stored in the patch_list\u00a0database table.<\/p>\n\n\n\n<p>An unapplied patch will be applied when running the setup: upgrade command.<\/p>\n\n\n\n<p>A data patch is a class that contains data modification instructions. <\/p>\n\n\n\n<p>Data patch is defined in <code>&lt;Vendor&gt;\/&lt;Module_Name&gt;\/Setup\/Patch\/Data\/&lt;Patch_Name&gt;.php<\/code>&nbsp;file and implements&nbsp;<code>\\Magento\\Framework\\Setup\\Patch\\DataPatchInterface<\/code>.<\/p>\n\n\n\n<p>A schema patch contains custom schema modification instructions. These modifications can be complex.<\/p>\n\n\n\n<p>It is defined in <code>&lt;Vendor>\/&lt;Module_Name>\/Setup\/Patch\/Schema\/&lt;Patch_Name>.php<\/code>\u00a0file and implements\u00a0<code>\\Magento\\Framework\\Setup\\Patch\\SchemaPatchInterface<\/code>.<\/p>\n\n\n\n<p>You can add dependencies in patches to handle the sequencing of the patches.<\/p>\n\n\n\n<p>To define dependencies in patches, you can add the getDependencies() function to your patch.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\" alt=\"schema and data patches\" class=\"wp-image-374977\" width=\"816\" height=\"134\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png 531w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch-300x49.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch-250x41.png 250w\" sizes=\"(max-width: 816px) 100vw, 816px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Data patch example class:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\Module\\Setup\\Patch\\Data;\n\nuse Magento\\Framework\\Setup\\ModuleDataSetupInterface;\nuse Magento\\Framework\\Setup\\Patch\\DataPatchInterface;\nuse Magento\\Framework\\Setup\\Patch\\PatchRevertableInterface;\n\nclass DemoPatch implements DataPatchInterface\n{\n    \/**\n     * @var ModuleDataSetupInterface\n     *\/\n    private $moduleDataSetup;\n\n    \/**\n     * @param ModuleDataSetupInterface $moduleDataSetup\n     *\/\n\n    public function __construct(\n        ModuleDataSetupInterface $moduleDataSetup\n    ) {\n        $this-&gt;moduleDataSetup = $moduleDataSetup;\n    }\n\n    \/**\n     * @inheritdoc\n     *\/\n    public function apply()\n    {\n        $this-&gt;moduleDataSetup-&gt;getConnection()-&gt;startSetup();\n        \/\/The code that you want apply in the patch\n        $this-&gt;moduleDataSetup-&gt;getConnection()-&gt;endSetup();\n    }\n\n    \/**\n     * @inheritdoc\n     *\/\n    public static function getDependencies()\n    {\n        return &#091;\n            SomeDependency::class\n        ];\n    }\n\n    \/**\n     * @inheritdoc\n     *\/\n    public function getAliases()\n    {\n        \/**\n         * This internal method, that means that some patches with time can change their names,\n         *\/\n        return &#091;];\n    }\n}<\/pre>\n\n\n\n<p>You can also check our other blogs <a href=\"https:\/\/webkul.com\/blog\/what-is-page-builder-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/webkul.com\/blog\/what-is-page-builder-in-magento-2\/<\/a><\/p>\n\n\n\n<p>Magento 2 doc <a href=\"https:\/\/developer.adobe.com\/commerce\/php\/development\/components\/declarative-schema\/patches\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.adobe.com\/commerce\/php\/development\/components\/declarative-schema\/patches\/<\/a><\/p>\n\n\n\n<p>Conclusion: We should use a data patch to insert data in the table and a schema patch to create, delete, or alter tables.<\/p>\n\n\n\n<p>As we discussed above, the patches execute only once and on setup: upgrade commands the schema patches execute first, and then the data patch. <\/p>\n\n\n\n<p>For example, if you have to create a table and then insert some data into it with a patch, then you can do it by following this blog. You can also leave a comment if you have any doubts.<\/p>\n\n\n\n<p>Thanks for reading our dev blog. You may also <a href=\"https:\/\/webkul.com\/hire-magento-developers\/\">Hire certified Magento 2 developers<\/a> for your next project<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Patches in Magento 2 are classes containing schema and data manipulation instructions. Schema and data patches will only be applied once, unlike the declarative schema approach. A list of applied patches is stored in the patch_list\u00a0database table. An unapplied patch will be applied when running the setup: upgrade command. A data patch is a class <a href=\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":366,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[12967,2460,2070,590],"class_list":["post-365925","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-adobe-commerce","tag-magento-2","tag-magento2","tag-webkul"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Schema and data patches Magento 2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Magento 2 what are schema and data patches and how can we use and deploy them?\" \/>\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\/schema-and-data-patches-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Schema and data patches Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Magento 2 what are schema and data patches and how can we use and deploy them?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/schema-and-data-patches-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=\"2023-03-31T06:55:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-29T10:29:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\" \/>\n<meta name=\"author\" content=\"Divya Prakash\" \/>\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=\"Divya Prakash\" \/>\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\/schema-and-data-patches-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\"},\"author\":{\"name\":\"Divya Prakash\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98\"},\"headline\":\"Schema and data patches Magento 2\",\"datePublished\":\"2023-03-31T06:55:53+00:00\",\"dateModified\":\"2025-12-29T10:29:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\"},\"wordCount\":254,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\",\"keywords\":[\"Adobe Commerce\",\"Magento 2\",\"Magento2\",\"webkul\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\",\"name\":\"Schema and data patches Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\",\"datePublished\":\"2023-03-31T06:55:53+00:00\",\"dateModified\":\"2025-12-29T10:29:08+00:00\",\"description\":\"Magento 2 what are schema and data patches and how can we use and deploy them?\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png\",\"width\":531,\"height\":87,\"caption\":\"patch\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Schema and data patches 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\/144f9781b7aee2d1d0fbfde8fb012a98\",\"name\":\"Divya Prakash\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?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\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Divya Prakash\"},\"description\":\"Divya Prakash, a talented Software Engineer, specializes in Magento development, delivering custom eCommerce solutions. Expertise in optimizing performance, integrating advanced features, and enhancing user experience drives innovation and business growth.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/divya-prakash407\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Schema and data patches Magento 2 - Webkul Blog","description":"Magento 2 what are schema and data patches and how can we use and deploy them?","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\/schema-and-data-patches-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Schema and data patches Magento 2 - Webkul Blog","og_description":"Magento 2 what are schema and data patches and how can we use and deploy them?","og_url":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-03-31T06:55:53+00:00","article_modified_time":"2025-12-29T10:29:08+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png","type":"","width":"","height":""}],"author":"Divya Prakash","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Divya Prakash","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/"},"author":{"name":"Divya Prakash","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98"},"headline":"Schema and data patches Magento 2","datePublished":"2023-03-31T06:55:53+00:00","dateModified":"2025-12-29T10:29:08+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/"},"wordCount":254,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png","keywords":["Adobe Commerce","Magento 2","Magento2","webkul"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/","url":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/","name":"Schema and data patches Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png","datePublished":"2023-03-31T06:55:53+00:00","dateModified":"2025-12-29T10:29:08+00:00","description":"Magento 2 what are schema and data patches and how can we use and deploy them?","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/patch.png","width":531,"height":87,"caption":"patch"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/schema-and-data-patches-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Schema and data patches 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\/144f9781b7aee2d1d0fbfde8fb012a98","name":"Divya Prakash","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?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\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Divya Prakash"},"description":"Divya Prakash, a talented Software Engineer, specializes in Magento development, delivering custom eCommerce solutions. Expertise in optimizing performance, integrating advanced features, and enhancing user experience drives innovation and business growth.","url":"https:\/\/webkul.com\/blog\/author\/divya-prakash407\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365925","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\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=365925"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365925\/revisions"}],"predecessor-version":[{"id":519157,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365925\/revisions\/519157"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=365925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=365925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=365925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}