Focuses on API authentication, access scopes, and permission management.
Hello folks,
what's the refresh token for?
Do I actually need it for making requests from my own Server to the REST API?
Thanks a lot in advance,
all the best,
Patrick
Solved! Go to the solution
This is an accepted solution.
Hi Paddy,
Refresh tokens are temporary tokens that you can use when rotating client credentials - you shouldn't need it for regular requests to your server. There's more info on the usecase for refresh tokens on our docs.
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
This is an accepted solution.
Hi Paddy,
Refresh tokens are temporary tokens that you can use when rotating client credentials - you shouldn't need it for regular requests to your server. There's more info on the usecase for refresh tokens on our docs.
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
Hey Liam, thanks a lot for your response!
Could you tell me, which credentials I need to make a POST request from my Server to my Admin API private app? GET-Requests seem to work fine, but when trying to use POST, I regularly receive a
uploadCategoriesSFY:{ "responseCode": 400, "errorResponse": "{\"errors\":{\"custom_collection\":\"Required parameter missing or invalid\"}}" }
....whether I use my X-Shopify-Access-Token or Basic Authentication.
I have no clue, what's going wrong.
Thanks a lot!
All the best
Patrick