• Resolved martinneumannat

    (@martinneumannat)


    I am using the WordPress REST API, authenticating with an application password. It works fine as long as WooCommerce is disabled. As soon as I enable the plugin, authentication of the WordPress REST API stops to work. Is that a bug, or do I need to do something different with the regular WordPress REST API once WooCommerce is enabled?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @martinneumannat,

    This is not a bug but rather a known situation. When WooCommerce is enabled, it creates its own REST API, which might cause conflicts with the regular WordPress REST API.

    To resolve this, you might need to adjust your API calls to specifically target the WooCommerce REST API endpoints instead. You can find more details in our WooCommerce REST API documentation.

    I hope this provides some clarity. Please let us know if you have any other questions!

    Thread Starter martinneumannat

    (@martinneumannat)

    What do you mean that it might cause conflicts with the regular WordPress API? Does it replicate all the regular WordPress endpoints? Does it substitute authentication, so that I need to use the WooCommerce key for the WordPress REST API? Or does it render the WordPress REST API unusable? I need to be clear on what is the nature of this conflict.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @martinneumannat,

    The WooCommerce REST API extends the WordPress REST API, such as the WordPress API allows you to work with posts, pages, users, etc, the WooCommerce one allows you to work with orders, products, and customer data, too.

    You can create your API Key for WooCommerce by going to your WooCommerce → Settings → Advanced → REST API → Create an API Key.

    I hope this helps so far.

    All the best,
    Omar

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? ,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    All the best,
    Omar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with REST Authentication’ is closed to new replies.