How can I refresh the Admin API access token?

Hi all,

After receiving a webhook i would like to call a REST API to get the transactions.json.

I am saving the shop’s AccessToken in my database but don’t know what to do if the AccessToken I saved in the database is expired. is there a refresh token for the Admin API?

How should I do it, can someone give me a hint to solve this?

Thanks,

Hi @johna1203 ,

Please refresh token in Admin as this flow: Admin > Apps > Private.

Hope this helps! Feel free to let me know if you need further support.