POST
/
auth
/
refresh-token
curl --request POST \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/auth/refresh-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "refresh_token": "<string>"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "access_token": "<string>",
    "refresh_token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Access token

Body

application/json
refresh_token
string

A string representing the refresh token.

Response

200 - application/json
OK
message
string

A descriptive message confirming the success or failure of the operation.

success
boolean

Indicates whether the request was successful or failure (true for success, false for failure).

content
object

An object containing the response content.