When do shopify access tokens expire

Offline access tokens do not expire, which tells me you’re probably working with online access tokens (which last as long as the user’s web session)

Offline access tokens only expire when the app is uninstalled or your revoke the token yourself. Online access tokens expire with the admin session of the user who the access token was granted for.

Offline access tokens don’t expire unless your app is uninstalled or you revoke the access token. Online access tokens on the other hand, only last as long as the user’s admin session.

API access modes: https://shopify.dev/concepts/about-apis/authentication#api-access-modes
Authenticate with OAuth: https://shopify.dev/tutorials/authenticate-with-oauth

https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}
上一篇 Shopify插件开发指南
下一篇 Shopify接口开发(PHP)
目录
文章列表
1 MySQL ALTER命令
MySQL ALTER命令
2
RxJava2学习之三:Scheduler线程控制
RxJava2学习之三:Scheduler线程控制
3
Retrofit2学习之六:上传单个文件
Retrofit2学习之六:上传单个文件
4
NodeJS crypto加密
NodeJS crypto加密
5
curl 模拟GET与POST请求,以及上传文件
curl 模拟GET与POST请求,以及上传文件
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。