Authentication
Refresh Token
Refresh the access token using a refresh token
POST
/{locale}/shop/auth/refreshRefresh the access token using a refresh token
Authorization
bearerAuth AuthorizationBearer <token>
Enter JWT token in the format: Bearer {token}
In: header
Path Parameters
locale*string
Locale code
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/en/shop/auth/refresh" \ -H "Content-Type: application/json" \ -d '{ "refresh_token": "your_refresh_token" }'{ "success": true, "data": { "token": "string", "refresh_token": "string", "expires_in": 3600 }}