{"id":200134,"date":"2024-01-16T08:00:00","date_gmt":"2024-01-16T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/woocommerce-legacy-rest-api\/"},"modified":"2025-01-24T02:59:00","modified_gmt":"2025-01-24T02:59:00","slug":"woocommerce-legacy-rest-api","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/woocommerce-legacy-rest-api\/","title":{"rendered":"WooCommerce Legacy REST API"},"content":{"rendered":"<p><a href=\"https:\/\/developer.woocommerce.com\/2023\/10\/03\/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0\/\" rel=\"nofollow ugc\">The Legacy REST API will no longer part of WooCommerce as of version 9.0<\/a>. This plugin restores the full functionality of the removed Legacy REST API code in WooCommerce 9.0 and later versions.<\/p>\n<p>For all intents and purposes, having this plugin installed and active in WooCommerce 9.0 and newer versions is equivalent to enabling the Legacy REST API in WooCommerce 8.9 and older versions (via WooCommerce \u2013 Settings \u2013 Advanced \u2013 Legacy API). All the endpoints work the same way, and existing user keys also continue working.<\/p>\n<p>On the other hand, installing this plugin together with WooCommerce 8.9 or an older version is safe: the plugin detects that the Legacy REST API is still part of WooCommerce and doesn\u2019t initialize itself as to not interfere with the built-in code.<\/p>\n<p>Please note that <strong>the Legacy REST API is not compatible with <a href=\"https:\/\/woocommerce.com\/document\/high-performance-order-storage\/\" rel=\"nofollow ugc\">High-Performance Order Storage<\/a><\/strong>. Upgrading the code that relies on the Legacy REST API to use the current WooCommerce REST API instead is highly recommended.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WooCommerce Legacy REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0.<\/p>\n","protected":false},"author":65,"featured_media":419975,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WooCommerce Legacy REST API - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"The WooCommerce Legacy REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0."},"footnotes":""},"categories":[1],"tags":[3144,320,42],"class_list":["post-200134","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-rest-api","tag-woo","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/200134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=200134"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/200134\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/419975"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=200134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=200134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=200134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}