get_token_info
Retrieve current API token details including merchant, scopes, creation and expiration dates. Use to verify token permissions and troubleshoot API access.
Instructions
取得目前 API Token 的資訊與授權範圍。
【用途】 查詢此 API Token 的詳細資訊,包含所屬商家、 授權的 scope(權限範圍)以及有效期限等。 適合排查 API 存取問題、確認 token 是否擁有 所需的操作權限。
【呼叫的 Shopline API】
GET /v1/token/info
【回傳結構】 dict 含 token_info,包含 merchant_id, scopes[], expires_at, created_at 等欄位。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||