Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM Marketplace – REST API › Search Rest api endpoint
- December 6, 2019 at 11:25 am #96240
what is the rest api for getting all users search by name? because when i used this url http://192.168.0.32/gigantv2.com.ph//wp-json/wp/v2/users/?search=key
i only get limited value
- December 7, 2019 at 10:08 am #96357
Rest api always shows 10 data per page by default at a time. This is to avoid larger fetching time, it is default in WordPress. To get data of a perticular page number use page=
query parameter and to increase no of data per page use per_page= parameter
This will be tha url structure.
- December 9, 2019 at 11:18 am #96677
how about the rest api for getting store vendor and search by name ?
im getting all the store vendor using this api but i cant filter it
- December 9, 2019 at 11:58 am #96681
In the rest API of both WordPress and WCFM currently, there is no option of filtering users by name.
- December 9, 2019 at 12:18 pm #96684
hi thank you for your response, can i just get the query instead ?
- December 9, 2019 at 12:37 pm #96689
You can check the link: https://wordpress.stackexchange.com/questions/105168/how-can-i-search-for-a-worpress-user-by-display-name-or-a-part-of-it
You can create your own custom search query for the users in this method.
The topic ‘Search Rest api endpoint’ is closed to new replies.