Skip to main content

MobileAuthResponse

The result of a buyer sign in.

type MobileAuthResponse {
accessToken: String!
isNewBuyer: Boolean!
refreshToken: String!
userId: ID!
}

Fields​

MobileAuthResponse.accessToken ● String! non-null scalar​

The token to send with requests.

MobileAuthResponse.isNewBuyer ● Boolean! non-null scalar​

True if this is the first time the buyer has signed in (no address yet).

MobileAuthResponse.refreshToken ● String! non-null scalar​

The token to get a new access token.

MobileAuthResponse.userId ● ID! non-null scalar​

The ID of the user.

Returned By​

mobileAcceptInvite mutation ● mobileClaimInvite mutation ● refreshAccessToken mutation ● verifyEmailOtp mutation