Shopify - Custom GraphQL Connection - Update the Scopes?

For Custom connections, I'm getting an error when I try to initiate an edit order in Shopify via the GraphQL connection. The first step is to pass an orderEditBegin mutation, to which the response has been an error. (shown below).

I've since walked through the Applications in Shopify with the my team and it doesn't seem as though there is a method to update the access scopes there.

In Celigo, I was able to identify the iClient configuration on the GraphQL configuration of the connection, but this does not seem accessible. Can anyone possibly advise us on how best we should add scopes to the IClient configuration here?

Hi @jheirendt ,

To resolve this issue, you’ll need to create a custom app in Shopify with the required scopes (including write_order_edits). Once the app is set up, you can create a new connection in Celigo using Token authentication instead of the default iClient.

You can follow the steps in this guide to set up a token connection to Shopify:
Set up a token connection to Shopify

This will allow you to control the scopes and ensure the orderEditBegin mutation works as expected.

2 Likes

Thank you Sree,

That’s something I tested out as well. I just wasn’t sure if that would be the best route to take here. Thank you.

1 Like