Viewing 2 replies - 1 through 2 (of 2 total)
  • dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @noise

    Can you give me some context about this, please?

    That endpoint gives the routes available, the integration would need to request a specific route. Like listing all products

    At this point, the integration would require authorization.

    An integration that we’re working with wants to access the json at

    https://oursite.com/shop/wp-json/wc/v2

    which returns a 404

    That is because the URL now includes a /shop part, and unless the root of your WordPress URL is /shop this isn’t required.

    Full details can be found in the REST API documentation – https://woocommerce.github.io/woocommerce-rest-api-docs/

    Also – v2 isn’t supported, please use v3.

    Thanks,

    Plugin Support Tseten a11n

    (@tibetanitech)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘/shop/wp-json/wc/v2 returns 404’ is closed to new replies.