https://www.wpgraphql.com/docs/custom-post-types/
e anche
https://scottbolinger.com/custom-post-types-wp-api-v2/