Hi D.D
There are two parameters favorites_only & favorites_by_user available to filter out the favorites listings.
favorites_only – used for whether to show only listings favorited by user. Use favorites_only=true to filter only favorited listings.
favorites_by_user – used to filter the listings favorited by particular user. Use favorites_by_user=12 to filter favorited listings by user 12. Do not add favorites_by_user parameter to filter the favorited listing for current logged user.
Example:
/wp-json/geodir/v1/places/?favorites_only=true – Shows the favorited place listings by current logged in user.
/wp-json/geodir/v1/places/?favorites_by_user=true&favorites_by_user=12 – Shows the favorited place listings by user ID 12.
Thanks,
Kiran