EZCart Docs
ApiV1StoreAuthRefresh

Refresh an access token using a refresh token

Refresh an access token using a refresh token. The old refresh token is rotated (invalidated) and a new pair is returned.

POST
/v1/store/auth/refresh

Request Body

application/json

refreshToken*string
Length1 <= length

Response Body

application/json

curl -X POST "https://api-pub.ezcart.io/v1/store/auth/refresh" \  -H "Content-Type: application/json" \  -d '{    "refreshToken": "string"  }'
{
  "accessToken": "string",
  "refreshToken": "string",
  "expiresIn": 0
}