I was wondering about what access_token is used by the shopify GraphiQL App when it makes queries and mutation because primarily I though it is using the Admin API access token.
I assumed this because I was being able to make whatever queries and mutations I was making using GraphiQL App I could also make them using the Admin API access token of the app that I've created in the App development section.
But the scenario changes when I try to run a mutation with a function id and I end up getting functionId not found regardless whatever I do.
So I wanna know what are they using.
What is the full mutation you're looking to make, that's working with GraphiQL but not via your app that's using the Admin API access token? It is possible that there's some extra access that the GraphiQL app has that is not currently accessible with the Admin API.
I've checked all the access scopes.
I'm using the access token that I've used the access_token derived from the following section(Shown in the images).
I can make mutations like create code and automatic discount(discountCodeBasicCreate, discountAutomaticBasicCreate) and so on using this access_token.
Then I created extension only apps using the CLI and tried to make the mutations related to those functions using the "fucntionId".
But when I try to create mutations that has "functionId" field like "discountAutomaticAppCreate or cartTransformCreate" it fails and says: Function not found.
You should also check to ensure that you have added the correct scopes that are required for the API call. You'd enable these scopes on the store admin, at this page: