• Resolved pastebin

    (@pastebin)


    Hi All!

    I have a question regarding WooCommerce and the API.
    I use WC Vendor, so i have multiple vendors on my site.
    I want to allow my vendors to use the API that comes with WooCommerce.

    Everything works fine, until external sites are about to fetch the products.
    It seems that the capability read_private_products has to be enabled to retreive the products at all.
    But if it is, it get ALL products – from other vendors as well.

    So if User “Alan” auths against external site, and tries to fetch all the products that belongs to him, he also get everyone elses products.

    While in the admin panel, the vendor only see’s his own products.
    Is it possible to use the API to only get the products that one vendor has?
    I have authed against the API with the User, and i run the GET Query https://url/wp-json/wc/v3/products/

    This is the last thing i have on my checklist before upgrading to pro and going live with the site – so this is really important for me!

    Thank you!

Viewing 1 replies (of 1 total)
  • Jamie

    (@digitalchild)

    Hello,

    We haven’t integrated our plugin with the WooCommerce API as we are currently designing our own API endpoints. This requires that we create a whole bunch of new capabilities and access restrictions to stop exactly this from happening.

    At this stage, the API is not ready for consumption, as it’s only in the early development stages.

    cheers,

    Jamie.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce + WC Vendor + API’ is closed to new replies.