{"id":50992,"date":"2016-06-03T15:01:08","date_gmt":"2016-06-03T15:01:08","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=50992"},"modified":"2024-03-04T05:35:50","modified_gmt":"2024-03-04T05:35:50","slug":"get-formatted-price-currency-code-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/","title":{"rendered":"Get formatted price by currency code in magento2"},"content":{"rendered":"\n<p>Get formatted price by currency code in magento2 &#8211; We all know that magento catalog product model provides method to get formatted product price but it gives price in current store currency.<\/p>\n\n\n\n<p>So what if we need to get the product price formatted price in magento2 in any desired currency then you don&#8217;t need to worry about this. Here I am going to explain how to get formatted price in any desired currency rate.<\/p>\n\n\n\n<p>Get formatted price by currency code in magento2:<\/p>\n\n\n\n<p>It is very simple and easy to get the formatted price. You just only need to follow few easy steps and you will get the desired output. So here following the steps given below &#8211;<\/p>\n\n\n\n<p>Step 1 : Create construct method in the class where you want to get the formatted price using the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/**\n * @var \\Magento\\Framework\\Pricing\\PriceCurrencyInterface\n *\/\nprotected $_priceCurrency;\n\n\/**\n * @param Context                                            $context\n * @param \\Magento\\Framework\\Pricing\\PriceCurrencyInterface  $priceCurrency\n * @param array                                              $data\n *\/\npublic function __construct(\n    Context $context,\n    \\Magento\\Framework\\Pricing\\PriceCurrencyInterface $priceCurrency,\n    array $data = &#091;]\n) {\n    $this-&gt;_priceCurrency = $priceCurrency;\n    parent::__construct($context, $data);\n}<\/pre>\n\n\n\n<p>NOTE: Inject the depency (\\Magento\\Framework\\Pricing\\PriceCurrencyInterface) in the constructor as shown in the above code.<\/p>\n\n\n\n<p>Step 2 : Create a formatted price method &#8220;getFormattedPrice&#8221; which accepts two arguments to get formatted price by currency code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/**\n * Get formatted by price and currency\n *\n * @param   $price\n * @param   $currency\n * @return  array || float\n *\/\npublic function getFormatedPrice($price, $currency)\n{\n    $precision = 2,   \/\/ for displaying price decimals 2 point\n    return $this-&gt;_priceCurrency-&gt;format(\n        $price,\n        $includeContainer = true,\n        $precision,\n        $scope = null,\n        $currency\n    );\n}<\/pre>\n\n\n\n<p>Here, in the first argument pass the amount or price that needs to be converted and in the second arguement you need to pass the Currency code for example : &#8216;USD&#8217;.<\/p>\n\n\n\n<p>Parameters used in format function:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>&nbsp;Price: amount to be formatted<\/li>\n\n\n\n<li>includeContainer: this will add the span tag with class=&#8221;price&#8221; if set to true.<\/li>\n\n\n\n<li>precision: this tells the method about the number of digits to be considered after decimal<\/li>\n\n\n\n<li>scope : tells the scope of the store<\/li>\n\n\n\n<li>currency: this is the currency code in which you want the amount to be formatted (used for symbolising)<\/li>\n<\/ol>\n\n\n\n<p>So If you call&nbsp;getFormatedPrice(100, &#8216;USD&#8217;) then it will return $100.00 value, so in this way you can get formatted price in desired currency.<\/p>\n\n\n\n<p>You can also check :<\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/blog\/convert-price-current-currency-magento2\/\">https:\/\/webkul.com\/blog\/convert-price-current-currency-magento2\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/experienceleague.adobe.com\/docs\/commerce-admin\/stores-sales\/site-store\/currency\/currency-update.html?lang=en\">https:\/\/experienceleague.adobe.com\/docs\/commerce-admin\/stores-sales\/site-store\/currency\/currency-update.html?lang=en<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get formatted price by currency code in magento2 &#8211; We all know that magento catalog product model provides method to get formatted product price but it gives price in current store currency. So what if we need to get the product price formatted price in magento2 in any desired currency then you don&#8217;t need to <a href=\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":15,"featured_media":50926,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302,1],"tags":[3204,3203,2070],"class_list":["post-50992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","category-uncategorized","tag-currency-code","tag-get-formatted-price","tag-magento2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Get formatted price by currency code in magento2<\/title>\n<meta name=\"description\" content=\"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.\" \/>\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\/get-formatted-price-currency-code-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get formatted price by currency code in magento2\" \/>\n<meta property=\"og:description\" content=\"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-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-06-03T15:01:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T05:35:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/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=\"Pooja Sahu\" \/>\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=\"Pooja Sahu\" \/>\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\/get-formatted-price-currency-code-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\"},\"author\":{\"name\":\"Pooja Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\"},\"headline\":\"Get formatted price by currency code in magento2\",\"datePublished\":\"2016-06-03T15:01:08+00:00\",\"dateModified\":\"2024-03-04T05:35:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\"},\"wordCount\":320,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"keywords\":[\"currency code\",\"Get formatted price\",\"Magento2\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\",\"name\":\"Get formatted price by currency code in magento2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"datePublished\":\"2016-06-03T15:01:08+00:00\",\"dateModified\":\"2024-03-04T05:35:50+00:00\",\"description\":\"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get formatted price by currency code 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\/420601cccfd5bc83506bcdd12362504b\",\"name\":\"Pooja Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pooja Sahu\"},\"description\":\"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pooja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get formatted price by currency code in magento2","description":"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.","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\/get-formatted-price-currency-code-magento2\/","og_locale":"en_US","og_type":"article","og_title":"Get formatted price by currency code in magento2","og_description":"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.","og_url":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-06-03T15:01:08+00:00","article_modified_time":"2024-03-04T05:35:50+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Pooja Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pooja Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/"},"author":{"name":"Pooja Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b"},"headline":"Get formatted price by currency code in magento2","datePublished":"2016-06-03T15:01:08+00:00","dateModified":"2024-03-04T05:35:50+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/"},"wordCount":320,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","keywords":["currency code","Get formatted price","Magento2"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/","url":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/","name":"Get formatted price by currency code in magento2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","datePublished":"2016-06-03T15:01:08+00:00","dateModified":"2024-03-04T05:35:50+00:00","description":"Get formatted price by currency code in magento2 - Here I am going to explain how to get formatted price in desired currency rate.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/get-formatted-price-currency-code-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Get formatted price by currency code 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\/420601cccfd5bc83506bcdd12362504b","name":"Pooja Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pooja Sahu"},"description":"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.","url":"https:\/\/webkul.com\/blog\/author\/pooja\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/50992","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=50992"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/50992\/revisions"}],"predecessor-version":[{"id":425753,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/50992\/revisions\/425753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/50926"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=50992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=50992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=50992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}