A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
The documentation for the Admin REST API states the following:
All Admin REST API endpoints follow this pattern:
https://{shop_id}.myshopify.com/admin/api/2022-01/{resource}.json
Is it possible to programmatically determine all valid values for Shopify resource types? For example, the documentation lists them here: https://shopify.dev/api/admin-rest#top, but I am trying to avoid having to manually specify those in code, as if a new resource type is added, the code wouldn't immediately be able to handle it.
Thank you