Open zeyios opened 3 months ago
I don't think that will ever be possible, it also seems like rest will eventually be entirely replaced with graph over time so transition your calls to graph as you move them over to the new direct api.
The themes endpoints just arrived in unstable
@darrynten It is mentioned in their offical documentation. https://shopify.dev/docs/api/app-bridge-library#direct-api-access
but not working. Is the docs outdated?
Is embedded_app_direct_api_access
enabled in your app toml file?
In my app, I've successfully used Direct API access with the GraphQL API like this:
However, when I try to use the same approach for the REST API, it doesn’t work:
I get the following error:
Fetch API cannot load shopify:admin/api/2024-07/themes.json. URL scheme "shopify" is not supported.