Hi r/Wordpress! Apologize in advance if the question/topic is not allowed (checked the rules and it seems it should be ok?)
I’m trying to write a small importer/updater on a real estate WP that’s using the WPResidence theme/plugin. AFAIK and according to their website, all “properties” are stored in the wp_post table, and it seems that way when you try to edit one in the main wp-admin interface (they have a special post_type `estate_property`). I’m trying to first fetch all the properties but when I try to use the `wp/v2/posts` API, I only get the non-property posts. Even if I try to get a single post using the `wp/v2/posts/<id>` with an ID of a property post, I get a 404 error.
Is there another way to get those types of posts or I’m just stuck in using some sort of bulk importer plugin?
Edit: markdown edits
[ad_2]