{"id":44804,"date":"2016-04-07T15:03:22","date_gmt":"2016-04-07T15:03:22","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=44804"},"modified":"2016-04-22T14:49:26","modified_gmt":"2016-04-22T14:49:26","slug":"can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/","title":{"rendered":"Working on shipping cost of externally made shipping carriers in Prestashop"},"content":{"rendered":"<p>As we create Prestashop shipping methods in our modules when creating prestashop extensions. By setting values of some variable of Shipping method we can work on the shipping cost of the Shipping methods for many purposes. Some requirements for which this functionality can be used are as follows-<\/p>\n<ul>\n<li>\u00a0If you want to add address wise impact price on externally made shipping carriers in your modules.<\/li>\n<li>When creating shipping modules like USPS shipping, UPS shipping, DHL shipping etc and you have to calculate price of their carriers via their API.<\/li>\n<\/ul>\n<p>And for many more other requirements.<\/p>\n<p>Set these variable\u2019s values when creating external carriers in your modules.<\/p>\n<p><span id=\"LC101\" class=\"line\"><span class=\"php\"><span class=\"hljs-variable\">\u00a0 \u00a0 \u00a0 \u00a0$obj_shipping_method<\/span><span class=\"hljs-variable\">-&gt;<strong>shipping_external<\/strong><\/span> = <strong><span class=\"hljs-keyword\">true<\/span><\/strong>;<\/span><\/span><\/p>\n<p><span id=\"LC102\" class=\"line\"><span class=\"php\"><span class=\"hljs-variable\">\u00a0 \u00a0 \u00a0 \u00a0$obj_shipping_method<\/span><span class=\"hljs-variable\">-&gt;<strong>external_module_name<\/strong><\/span> = <span class=\"hljs-string\">&#8216;<strong>module name<\/strong>&#8216;<\/span>;<\/span><\/span><\/p>\n<p><span id=\"LC103\" class=\"line\"><span class=\"php\"><span class=\"hljs-variable\">\u00a0 \u00a0 \u00a0 \u00a0$obj_shipping_method<\/span><span class=\"hljs-variable\">-&gt;<strong>is_module<\/strong><\/span> = <strong><span class=\"hljs-number\">1<\/span><\/strong>;<\/span><\/span><\/p>\n<p><span id=\"LC104\" class=\"line\"><span class=\"php\"><span class=\"hljs-variable\">\u00a0 \u00a0 \u00a0 \u00a0$obj_shipping_method<\/span><span class=\"hljs-variable\">-&gt;<strong>need_range<\/strong><\/span> = <strong><span class=\"hljs-number\">1<\/span><\/strong>;<\/span><\/span><\/p>\n<p>Now lets have a look to the code written under \u201cgetPackageShippingCost\u201d function in the file Cart.php, \u00a0which is used for the above described functionality.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush:php\">        $shipping_cost = Tools::convertPrice($shipping_cost, Currency::getCurrencyInstance((int)$this-&gt;id_currency));\r\n\r\n        \/\/get external shipping cost from module\r\n        if ($carrier-&gt;shipping_external) {\r\n            $module_name = $carrier-&gt;external_module_name;\r\n\r\n            \/** @var CarrierModule $module *\/\r\n            $module = Module::getInstanceByName($module_name);\r\n\r\n            if (Validate::isLoadedObject($module)) {\r\n                if (array_key_exists('id_carrier', $module)) {\r\n                    $module-&gt;id_carrier = $carrier-&gt;id;\r\n                }\r\n                if ($carrier-&gt;need_range) {\r\n                    if (method_exists($module, 'getPackageShippingCost')) {\r\n                        $shipping_cost = $module-&gt;getPackageShippingCost($this, $shipping_cost, $products);\r\n                    } else {\r\n                        $shipping_cost = $module-&gt;getOrderShippingCost($this, $shipping_cost);\r\n                    }\r\n                } else {\r\n                    $shipping_cost = $module-&gt;getOrderShippingCostExternal($this);\r\n                }\r\n\r\n                \/\/ Check if carrier is available\r\n                if ($shipping_cost === false) {\r\n                    Cache::store($cache_id, false);\r\n                    return false;\r\n                }\r\n            } else {\r\n                Cache::store($cache_id, false);\r\n                return false;\r\n            }\r\n        }<\/pre>\n<p>This above code executes everytime when calculating the cost of every package in the cart. So if you have defined functions in the above code in your module file. Then you can work on the shipping cost of the carrier which is applied to that package. So give shipping method\u2019s variables values according to which function you want to use in your module because every function has different parameters.<\/p>\n<p>If in your shipping method&#8217;s need_range variable value is supplied as 0 then \u201cgetOrderShippingCostExternal($this)\u201d function is called in which only one parameter is available which is current cart object. If need_range variable value is supplied as 1 then &#8211;<\/p>\n<ul>\n<li>If in your module \u201cgetPackageShippingCost\u201d function is defined then \u201cgetPackageShippingCost($this, $shipping_cost, $products)\u201d function of your module\u2019s file will be called. In this function three parameters are available first is current cart object , second is carrier\u2019s shipping cost and third is array of product in the current package for which carrier\u2019s cost is calculated.<\/li>\n<li>If in your module \u201cgetPackageShippingCost\u201d function is not defined Then \u201cgetOrderShippingCost($this, $shipping_cost)\u201d function of your module\u2019s file will be called. This function has two parameters. First is object of current cart and second is carrier\u2019s shipping cost and third is array of product in the current package for which carrier\u2019s cost is calculated.<\/li>\n<\/ul>\n<p>So if we have to change(increase or decrease) the shipping cost of carrier created by you in your module, No need to override files (like Cart.php ..) you can use this functionality. And because every function has different set of parameters you can set values of the variables of your external module\u2019s shipping carriers and define functions in your module\u2019s main file according to your need and use this functionality of prestashop for your desired requirement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we create Prestashop shipping methods in our modules when creating prestashop extensions. By setting values of some variable of Shipping method we can work on the shipping cost of the Shipping methods for many purposes. Some requirements for which this functionality can be used are as follows- \u00a0If you want to add address wise <a href=\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":83,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[3007,3006,3002,2698,3004,3003,3005],"class_list":["post-44804","post","type-post","status-publish","format-standard","hentry","category-prestashop","tag-creating-carriers-in-a-module-in-prestashop","tag-prestashop-external-carriers","tag-prestashop-external-shipping-working","tag-prestashop-shipping","tag-shipping-price-of-external-shippings-in-prestashop","tag-shippings-in-the-modules-in-prestashop","tag-working-on-shipping-cost-of-external-carriers-in-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog<\/title>\n<meta name=\"description\" content=\"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost\" \/>\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\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\" \/>\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-04-07T15:03:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-22T14:49:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sumit\" \/>\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=\"Sumit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\"},\"author\":{\"name\":\"Sumit\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/3e45ec35749afa62aa598a5e1766d2b9\"},\"headline\":\"Working on shipping cost of externally made shipping carriers in Prestashop\",\"datePublished\":\"2016-04-07T15:03:22+00:00\",\"dateModified\":\"2016-04-22T14:49:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\"},\"wordCount\":481,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"creating carriers in a module in prestashop\",\"prestashop external carriers\",\"prestashop external shipping working\",\"prestashop shipping\",\"shipping price of external shippings in prestashop\",\"shippings in the modules in prestashop\",\"working on shipping cost of external carriers in prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\",\"url\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\",\"name\":\"Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2016-04-07T15:03:22+00:00\",\"dateModified\":\"2016-04-22T14:49:26+00:00\",\"description\":\"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working on shipping cost of externally made shipping carriers in Prestashop\"}]},{\"@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\/3e45ec35749afa62aa598a5e1766d2b9\",\"name\":\"Sumit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?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\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sumit\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sumit201\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog","description":"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost","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\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/","og_locale":"en_US","og_type":"article","og_title":"Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog","og_description":"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost","og_url":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-04-07T15:03:22+00:00","article_modified_time":"2016-04-22T14:49:26+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Sumit","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sumit","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/"},"author":{"name":"Sumit","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/3e45ec35749afa62aa598a5e1766d2b9"},"headline":"Working on shipping cost of externally made shipping carriers in Prestashop","datePublished":"2016-04-07T15:03:22+00:00","dateModified":"2016-04-22T14:49:26+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/"},"wordCount":481,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["creating carriers in a module in prestashop","prestashop external carriers","prestashop external shipping working","prestashop shipping","shipping price of external shippings in prestashop","shippings in the modules in prestashop","working on shipping cost of external carriers in prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/","url":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/","name":"Working on shipping cost of externally made shipping carriers in Prestashop - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2016-04-07T15:03:22+00:00","dateModified":"2016-04-22T14:49:26+00:00","description":"working on external shipping methods cost calculation, shipping cost calculation, package shipping cost, customize external shipping methods cost","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/can-work-shipping-cost-externally-made-shipping-carriers-every-package-cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Working on shipping cost of externally made shipping carriers in Prestashop"}]},{"@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\/3e45ec35749afa62aa598a5e1766d2b9","name":"Sumit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?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\/0e50336dc34ad31135238f210897d19d09edbdb9be2f7974a85de3ecdef16bf6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sumit"},"url":"https:\/\/webkul.com\/blog\/author\/sumit201\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44804","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\/83"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=44804"}],"version-history":[{"count":19,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44804\/revisions"}],"predecessor-version":[{"id":46573,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44804\/revisions\/46573"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=44804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=44804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=44804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}