how to find vendor info from an order
-
I am using Product Vendors extension for a marketplace for a client.
My question relates to “How to find vendor info from an order obtained via API or webhook?”
Here is my situation (I am still in test/development): I created an order, the order is sent through a webhook to a url. Of course I could also retrieve this order info via API since I know the order number.
After browsing through the attributes, I found the vendor info (id, name or anything) is not in it. I then looked at Woocommerce’s REST API and the Woocommerce database tables, but could not figure out how to get the vendor info.
May experts help with this question:
How to find vendor info (in my store, every single product is linked to a vendor) from either an order id, or a product id (which are in the order), through REST API or through database searches?
Thanks
JohnZ
- The topic ‘how to find vendor info from an order’ is closed to new replies.