1. Authentication
Shanjing Ecommerce Api
🇺🇸 English
  • latest
  • 🇺🇸 English
  • Access Guide
    • Platform Overview
    • Become a Developer
  • Taobao & Tmall API
    • Authentication
      • Obtain Token
      • Refresh Token
        GET
    • Product Related
      • Taobao/Tmall Product Details API
      • Taobao/Tmall Product Keyword Search Interface
      • Taobao/Tmall Image Search for Similar Products Interface
      • Upload image to Taobao/Tmall for product search
    • Order Related
      • Taobao/Tmall Collision Database Interface
      • Taobao/Tmall Pre-create Order Interface
      • Taobao/Tmall Order Cancellation Interface
      • Taobao/Tmall Official Order Creation Interface
      • Taobao/Tmall Order Query Interface
  1. Authentication

Refresh Token

GET
/rest/taobao-global/auth/token/refresh
Before the token expires, a new token needs to be obtained through the refresh token.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://ecommerce-api.shanjing-inc.com/rest/taobao-global/auth/token/refresh?refresh_token=undefined' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "expires_in": 0,
    "account_id": "string",
    "user_Id": "string",
    "seller_Id": "string",
    "short_code": "string",
    "account_platform": "string",
    "access_token": "string",
    "account": "string",
    "refresh_token": "string",
    "refresh_expires_in": "string",
    "error_code": "string"
}
🟢200Failed
Modified at 2026-03-14 06:46:03
Previous
Obtain Token
Next
Taobao/Tmall Product Details API
Built with