Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I created a payment customization in my shopify function app as shown in the documentation, the problem is that when i try to find my customization, if i run the query in GraphiQl (the shopify app to run queries in the shopify admin), it finds it:
But when i run the exact same query in my backend api, with the GraphQl client, it returns nothing:
response:
Am i doing something wrong? I already added the write_payment_customizations, read_payment_customizations access scopes.
Solved! Go to the solution
This is an accepted solution.
I finally figured it out, it seems like i can only access customizations generated by my own app. I created the customization in the GraphiQl app, hence, my app couldn't access it.
This is an accepted solution.
I finally figured it out, it seems like i can only access customizations generated by my own app. I created the customization in the GraphiQl app, hence, my app couldn't access it.
Great to hear you figured this out Prudentt - and thanks for coming back to post your solution!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog