Returns/update & returns/closed via Admin Webhook

Hey,

I wonder if it is possible to get returns/closed and returns/update returns/open etc from the admin webhook?

I know it is not on the list, can i register then via graphQL?

Hey @ChrisBradley :waving_hand: - you should be able to register a webhook subscription through GraphQL using this mutation here: webhookSubscriptionCreate - GraphQL Admin

You can use the GraphiQL App to do this if you’d like, as long as you’ve enabled read/write access scopes for returns: GraphiQL for the Admin API

Hope this helps - let me know if I can clarify anything on our end here :slight_smile:

Hey @Alan_G

Perfect Thanks, is there a list of webhooks? can we do this with store admin credentials?

No worries @ChrisBradley! We have a list of webhook topics here for reference:

You should be able to set up a webhook subscription using the GraphiQL app using those topics as the access scopes are enabled on the GraphiQL app and the user account has the right level of app acess. If you have shop admin credentials, you’d definitely be able to do this without a problem!

1 Like