• Resolved fotske

    (@fotske)


    Hi,

    I read the following article (https://developer.woo.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/) but I don’t know how I can know if my website uses this “Legacy REST API”? I don’t even know what a REST API is? Could you explain in simple words?

    In WooCommerce > Settings > Advanced > Legacy API, the“Enable the legacy REST API” box is checked but how can I know if it’s needed or useful? How can I know if I can uncheck it?

    In WooCommerce > Settings > Advanced > Webhooks, I don’t have any webhooks. Does that mean that I don’t need the Legacy REST API?

    Thank you for your help and explanation.

Viewing 1 replies (of 1 total)
  • Mirko P.

    (@rainfallnixfig)

    Hello @fotske

    The REST API is a way for other applications or websites to communicate with your WooCommerce store. It’s like a language that your website uses to talk to other services. The “Legacy REST API” is an older version of this language.

    If you have the “Enable the legacy REST API” box checked in WooCommerce > Settings > Advanced > Legacy API, it means your website is capable of using this older language. However, just because the capability is there, doesn’t necessarily mean it’s being used.

    Whether you need the Legacy REST API or not depends on whether you have any plugins, services, or custom code that specifically requires it. If you’re unsure, you might need to consult with a developer or the support teams for any plugins or services you’re using.

    As for your question about webhooks, these are a way for your website to send real-time notifications to other services. If you don’t have any webhooks set up, it doesn’t necessarily mean you don’t need the Legacy REST API. While webhooks often use APIs, they aren’t the only thing that might.

    To determine if you can uncheck the “Enable the legacy REST API” box, you might need to do a bit of testing. You could uncheck the box, and then thoroughly test your site to see if anything stops working. If everything still functions as expected, it’s likely you don’t need the Legacy REST API.

    I hope this helps clarify things a bit. If you have further questions, don’t hesitate to ask!

    Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I know if I need the Legacy REST API?’ is closed to new replies.