Przejdź do głównej zawartości

CustomerLogoutPayload

Result of customerLogout — invalidates the current access token on the server.

type CustomerLogoutPayload {
deletedAccessToken: String
deletedCustomerAccessTokenId: String
userErrors: [UserError!]!
}

Fields

CustomerLogoutPayload.deletedAccessToken ● String scalar

The token string that was invalidated. Useful for client-side cache clearing.

CustomerLogoutPayload.deletedCustomerAccessTokenId ● String scalar

ID of the invalidated token record.

CustomerLogoutPayload.userErrors ● [UserError!]! non-null object

Errors carrying a stable CustomerErrorCode in code (e.g. TOKEN_INVALID, TOKEN_EXPIRED).

Returned By

customerLogout mutation