Hi there,
To expose a custom post type to the REST API you will need to add show_in_rest support. Here is a snippet from the WordPress developer docs that describes how to do that:
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/#adding-rest-api%5B…%5Dng-content-types
You may need to use ‘books’ (plural) in the if statement instead of ‘book’ if you find it does not work by default.
If you need more assistance with customizations I would recommend checking out the other community resources such as the Slack channel ( http://genesis.community/slack ) and Facebook group ( https://www.facebook.com/groups/genesiswp/ ).
Kind regards,
hello, @corinneolson
i read that but i dont know how to do it i try but nothing is work i will wait for someone who can provided me exact code or if you have free time please do it for me i want to import this post to my APP
thank you