Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › How to get products by vendor id?
- This topic has 5 replies, 2 voices, and was last updated 6 years, 2 months ago by
Sayan Naskar.
- AuthorPosts
- May 18, 2019 at 8:10 pm #62871
Anul
GuestIs there any API to fetch products by vendor id?
- May 20, 2019 at 3:59 am #62962
Sayan Naskar
MemberHello,
When you use vendors credentials to authenticate and call the products api route with that authentication key. You will get products of that vendor.
Are you looking to achieve anything else?
Thank you. - May 20, 2019 at 7:44 am #62999
Anul
GuestHello,
I know that by i want to get with vendor id. I have list all my vendors, and i want when choosing one of them to fetch his products. - May 21, 2019 at 6:31 am #63141
Sayan Naskar
MemberHello,
It is now not supported in the products api. But we will implement it in the future versionsThank You.
- May 23, 2019 at 2:25 pm #63512
Anul
GuestWhen the future version coming?
- June 2, 2019 at 5:26 pm #65552
Sayan Naskar
MemberHello,
Use the URL format <Site_Url>/wp-json/wcfmmp/v1/products/?id=858 ( ie <Site_Url>/wp-json/wcfmmp/v1/products/?id=<Vendor_id> ) while logged in as admin to get products of a specific vendor.Thank You.
- AuthorPosts
- The topic ‘How to get products by vendor id?’ is closed to new replies.