Refresh Token Private App

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

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.

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