Shopee TokensRefresh a Shopee token

Refresh a Shopee token

Refreshes the Shopee token associated with a shop.

curl -X GET "http://localhost:8080/api/shops/123/token/refresh" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "success": true,
  "expires_at": "2024-12-25T10:00:00Z"
}
GET
/api/shops/{id}/token/refresh
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT access token, or refresh token for the token refresh endpoint.

JWT access token, or refresh token for the token refresh endpoint.
path
idinteger
Required

Shop identifier.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT access token, or refresh token for the token refresh endpoint.

Path Parameters

idinteger
Required

Shop identifier.

Responses

successboolean
Required

Whether token refresh succeeded.

expires_atstring
Required

New token expiration timestamp.