Skip to content

refreshToken

Mutationin Authentication

Refresh the authentication token for the current session

Returns

RefreshTokenResponse!

FieldTypeDescription
successBoolean!Indicates if the token refresh was successful
customerErrors[RefreshTokenError!]Error details if token refresh failed

Example

mutation {
refreshToken {
success
customerErrors {
... on ValidationError {
message
}
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccResolved