{"id":1471,"date":"2020-12-19T05:10:08","date_gmt":"2020-12-19T05:10:08","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/add-custom-field-in-checkout-page-below-payment-method-list-in-magento-2\/"},"modified":"2025-07-17T10:13:18","modified_gmt":"2025-07-17T04:43:18","slug":"add-custom-field-in-checkout-page-below-payment-method-list-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/add-custom-field-in-checkout-page-below-payment-method-list-in-magento-2\/","title":{"rendered":"How to Add Custom Field in Checkout Page Below Payment Method List in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Magento 2\u00a0CMS is widely preferred to run online businesses in various niches.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As the CMS is flexible for customization, modern business requirements can be easily fulfilled. One such example is to add custom field in checkout page just after payment method list in Magento 2. Likewise you can also&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/add-custom-field-below-apply-discount-code-in-magento-2-cart-page\/\">add custom field below Apply Discount code in Magento 2<\/a>, to make the customers click it and let them explore detailed offer benefits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also as being an admin you can&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/get-week-days-list-in-magento-2-system-configuration\/\">get week days list in Magento 2<\/a>&nbsp;system configuration for when a customer can book an appointment, or select the days on which the store will offer delivery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post shows the programmatic solution for the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example. you need the customer to agree with something apart from the default&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/add-magento-2-terms-and-conditions-checkbox\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 terms and conditions<\/a>, you can implement a custom checkbox.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or, you can add the gift wrap checkbox using the below code. If you want to encourage the customers to donate some amount with each purchase, you can add a checkbox field which when the customer will tick, a fixed amount will be added to the cart total automatically. Or even If you want to restrict access to certain&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/make-a-payment-method-visible-only-to-admin-in-magento-2\/\">payment methods and make them visible only to the admin<\/a>, you can use the \u201cMake a Payment Method Visible Only to Admin\u201d feature.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any of the above scenarios can be implemented or other custom fields can be added as shown in the figure below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/12\/Screenshot-at-December-11th-2020-10.14.43-am-1024x748.png\" alt=\"Add custom field in checkout page just after payment method list in Magento 2:\" class=\"wp-image-12016\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The example here is about adding a custom checkbox in the checkout page, saving its value in the database table, and displaying the same in the admin panel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Add custom field in checkout page just after payment method list in Magento 2:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: To add custom field in the table<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>InstallData.php<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\Setup\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace Vendor\\Module\\Setup;\n\nuse Magento\\Framework\\Setup\\InstallDataInterface;\nuse Magento\\Framework\\Setup\\ModuleContextInterface;\nuse Magento\\Framework\\Setup\\ModuleDataSetupInterface;\nuse Magento\\Customer\\Model\\Customer;\nuse Magento\\Customer\\Setup\\CustomerSetupFactory;\n\nclass InstallData implements InstallDataInterface\n{\n\n    private $customerSetupFactory;\n\n    \/**\n     * Constructor\n     *\n     * @param \\Magento\\Customer\\Setup\\CustomerSetupFactory $customerSetupFactory\n     *\/\n    public function __construct(\n        CustomerSetupFactory $customerSetupFactory\n    ) {\n        $this->customerSetupFactory = $customerSetupFactory;\n    }\n\n    \/**\n     * {@inheritdoc}\n     *\/\n    public function install(\n        ModuleDataSetupInterface $setup,\n        ModuleContextInterface $context\n    ) {\n        $installer = $setup;\n\n        $installer->startSetup();\n\n        $installer->getConnection()->addColumn(\n            $installer->getTable('quote'),\n            'agree',\n            [\n                'type' => \\Magento\\Framework\\DB\\Ddl\\Table::TYPE_BOOLEAN,\n                'visible'  => true,\n                'default' => 0,\n                'comment' => 'Custom Condition'\n            ]\n        );\n\n\n        $installer->getConnection()->addColumn(\n            $installer->getTable('sales_order'),\n            'agree',\n            [\n                'type' => \\Magento\\Framework\\DB\\Ddl\\Table::TYPE_BOOLEAN,\n                'visible'  => true,\n                'default' => 0,\n                'comment' => 'Custom Condition'\n            ]\n        );\n    }\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: To Create extension attribute and add checkbox just after payment methods and Save that field in Quote table<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>extension_attributes.xml<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\etc\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Api\/etc\/extension_attributes.xsd\">\n    &lt;extension_attributes for=\"Magento\\Quote\\Api\\Data\\AddressInterface\">\n        &lt;attribute code=\"agree\" type=\"string\" \/>\n    &lt;\/extension_attributes>\n&lt;\/config><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>checkout_index_index.xml<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\view\\frontend\\layout\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" layout=\"1column\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n    &lt;body>\n        &lt;referenceBlock name=\"checkout.root\">\n            &lt;arguments>\n                &lt;argument name=\"jsLayout\" xsi:type=\"array\">\n                    &lt;item name=\"components\" xsi:type=\"array\">\n                        &lt;item name=\"checkout\" xsi:type=\"array\">\n                            &lt;item name=\"children\" xsi:type=\"array\">\n                                &lt;item name=\"steps\" xsi:type=\"array\">\n                                    &lt;item name=\"children\" xsi:type=\"array\">\n                                        &lt;item name=\"billing-step\" xsi:type=\"array\">\n                                            &lt;item name=\"children\" xsi:type=\"array\">\n                                                &lt;item name=\"payment\" xsi:type=\"array\">\n                                                    &lt;item name=\"children\" xsi:type=\"array\">\n                                                        &lt;item name=\"afterMethods\" xsi:type=\"array\">\n                                                            &lt;item name=\"children\" xsi:type=\"array\">\n                                                                &lt;item name=\"custom-checkbox\" xsi:type=\"array\">\n                                                                    &lt;item name=\"component\" xsi:type=\"string\">Vendor_Module\/js\/checkout\/customJs&lt;\/item>\n                                                                    &lt;item name=\"displayArea\" xsi:type=\"string\">before-place-order&lt;\/item>\n                                                                    &lt;item name=\"sortOrder\" xsi:type=\"string\">3&lt;\/item>\n                                                                    &lt;item name=\"dataScope\" xsi:type=\"string\">checkoutcomments&lt;\/item>\n                                                                    &lt;item name=\"provider\" xsi:type=\"string\">checkoutProvider&lt;\/item>\n                                                                &lt;\/item>\n                                                            &lt;\/item>\n                                                        &lt;\/item>\n                                                    &lt;\/item>\n                                                &lt;\/item>\n                                            &lt;\/item>\n                                        &lt;\/item>\n                                    &lt;\/item>\n                                &lt;\/item>\n                            &lt;\/item>\n                        &lt;\/item>\n                    &lt;\/item>\n                &lt;\/argument>\n            &lt;\/arguments>\n        &lt;\/referenceBlock>\n    &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>customJs.js<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\view\\frontend\\web\\js\\checkout<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">define(\n    [\n        'ko',\n        'jquery',\n        'uiComponent',\n        'mage\/url'\n    ],\n    function (ko, $, Component,url) {\n        'use strict';\n        return Component.extend({\n            defaults: {\n                template: 'Vendor_Module\/checkout\/customCheckbox'\n            },\n            initObservable: function () {\n\n                this._super()\n                    .observe({\n                        CheckVals: ko.observable(false)\n                    });\n                var checkVal=0;\n                self = this;\n                this.CheckVals.subscribe(function (newValue) {\n                    var linkUrls  = url.build('module\/checkout\/saveInQuote');\n                    if(newValue) {\n                        checkVal = 1;\n                    }\n                    else{\n                        checkVal = 0;\n                    }\n                    $.ajax({\n                        showLoader: true,\n                        url: linkUrls,\n                        data: {checkVal : checkVal},\n                        type: \"POST\",\n                        dataType: 'json'\n                    }).done(function (data) {\n                        console.log('success');\n                    });\n                });\n                return this;\n            }\n        });\n    }\n);<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>customCheckbox.html<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\view\\frontend\\web\\template\\checkout<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;input type=\"checkbox\" name=\"customCheckbox\" value=\"\" data-bind='checked: CheckVals'\/>&lt;div> Check to Agree &lt;\/div><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>saveInQuote.php<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\Controller\\Checkout<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\n\nnamespace Vendor\\Module\\Controller\\Checkout;\n\nuse Magento\\Framework\\App\\Action\\Context;\nuse Magento\\Framework\\Controller\\Result\\ForwardFactory;\nuse Magento\\Framework\\View\\LayoutFactory;\nuse Magento\\Checkout\\Model\\Cart;\nuse Magento\\Framework\\App\\Action\\Action;\nuse Magento\\Checkout\\Model\\Session;\nuse Magento\\Quote\\Model\\QuoteRepository;\n\nclass saveInQuote extends Action\n{\n    protected $resultForwardFactory;\n    protected $layoutFactory;\n    protected $cart;\n\n    public function __construct(\n        Context $context,\n        ForwardFactory $resultForwardFactory,\n        LayoutFactory $layoutFactory,\n        Cart $cart,\n        Session $checkoutSession,\n        QuoteRepository $quoteRepository\n    )\n    {\n        $this->resultForwardFactory = $resultForwardFactory;\n        $this->layoutFactory = $layoutFactory;\n        $this->cart = $cart;\n        $this->checkoutSession = $checkoutSession;\n        $this->quoteRepository = $quoteRepository;\n\n        parent::__construct($context);\n    }\n\n    public function execute()\n    {\n        $checkVal = $this->getRequest()->getParam('checkVal');\n        $quoteId = $this->checkoutSession->getQuoteId();\n        $quote = $this->quoteRepository->get($quoteId);\n        $quote->setAgree($checkVal);\n        $quote->save();\n    }\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: To Save that custom field in Sales_Order table<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>events.xml<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\etc\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Event\/etc\/events.xsd\">\n    &lt;event name=\"sales_model_service_quote_submit_before\">\n        &lt;observer name=\"custom_checkbox_code_order_place_before_action\" instance=\"Vendor\\Module\\Observer\\PlaceOrder\"\/>\n    &lt;\/event>\n&lt;\/config><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>PlaceOrder.php<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\Observer\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace Vendor\\Module\\Observer;\nuse Magento\\Framework\\Event\\Observer;\nuse Magento\\Framework\\Event\\ObserverInterface;\nuse Magento\\Quote\\Model\\QuoteFactory;\nuse Psr\\Log\\LoggerInterface;\n\nclass PlaceOrder implements ObserverInterface\n{\n    \/**\n    * @var \\Psr\\Log\\LoggerInterface\n    *\/\n    protected $_logger;\n\n    \/**\n    * @var \\Magento\\Customer\\Model\\Session\n    *\/\n    protected $quoteFactory;\n\n    \/**\n     * Constructor\n     *\n     * @param \\Psr\\Log\\LoggerInterface $logger\n     *\/\n\n    public function __construct(LoggerInterface $logger,\n        QuoteFactory $quoteFactory) {\n        $this->_logger = $logger;\n        $this->quoteFactory = $quoteFactory;\n    }\n\n    public function execute(Observer $observer)\n    {\n        $order = $observer->getOrder();\n        $quoteId = $order->getQuoteId();\n        $quote  = $this->quoteFactory->create()->load($quoteId);\n        $order->setAgree($quote->getAgree());\n        $order->save();\n    }\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<strong>routes.xml<\/strong>&nbsp;file at&nbsp;<strong>Vendor\\Module\\etc\\frontend<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;config xsi:noNamespaceSchemaLocation=\"urn:magento:framework:App\/etc\/routes.xsd\"\n        xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n    &lt;router id=\"standard\">\n        &lt;route id=\"Vendor_Module\" frontName=\"module\">\n            &lt;module name=\"Vendor_Module\"\/>\n        &lt;\/route>\n    &lt;\/router>\n&lt;\/config><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: To Display custom field value in admin side order view<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>sales_order_view.xml<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\view\\adminhtml\\layout<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" layout=\"admin-2columns-left\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n    &lt;body>\n        &lt;referenceBlock name=\"order_info\">\n            &lt;block class=\"Vendor\\Module\\Block\\Adminhtml\\Order\\View\\DisplayCustomValue\" name=\"sales_order_view_custom_value\" template=\"order\/view\/displayCustomValue.phtml\" \/>\n        &lt;\/referenceBlock>\n    &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>displayCustomValue.phtml<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\view\\adminhtml\\templates\\order\\view<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;h4>Custom Condition Added :\n&lt;?php $CheckValue = $block->getAgree(); ($CheckValue) ? echo 'Yes' : echo 'No'; ?>\n&lt;\/h4><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<em><strong>displayCustomValue.php<\/strong><\/em>&nbsp;file under&nbsp;<strong>Vendor\\Module\\Block\\Adminhtml\\Order\\View\\<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace Vendor\\Module\\Block\\Adminhtml\\Order\\View;\n\nuse Magento\\Sales\\Api\\Data\\OrderInterface;\nclass DisplayCustomValue extends \\Magento\\Backend\\Block\\Template\n{\n    public function __construct(\n        \\Magento\\Backend\\Block\\Widget\\Context $context,\n        OrderInterface $orderInterface,\n        array $data = []\n    ) {\n        $this->orderInterface = $orderInterface;\n        parent::__construct($context, $data);\n    }\n    public function getAgree(){\n        $orderId = $this->getRequest()->getParam('order_id');\n        $order = $this->orderInterface->load($orderId);\n\n        return $order->getAgree();\n    }\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share the solution with the Magento Community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Also Read:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/meetanshi.com\/blog\/configure-zero-subtotal-checkout-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Configure Zero Subtotal Checkout in Magento 2<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/blog\/convert-custom-field-from-quote-item-to-order-item-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Convert Custom Field From Quote Item to Order Item in Magento 2<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, if you want to&nbsp;<a href=\"https:\/\/www.mageplaza.com\/magento-2-custom-checkout-fields\/\" target=\"_blank\" rel=\"noreferrer noopener\">add a custom field on the checkout page<\/a>&nbsp;at a different position with additional features, you may as well use the third-party extension to ease your task!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2\u00a0CMS is widely preferred to run online businesses in various niches. As the CMS is flexible for customization, modern business requirements can be easily&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1471","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1471"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1471\/revisions"}],"predecessor-version":[{"id":14568,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1471\/revisions\/14568"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}