Anchor to FetchCustomDataTokenForUserPayloadFetch
payloadFetch Custom Data Token For User Payload
Return type for the mutation.
Anchor to FieldsFields
- accessToken (String)
- expiresIn (Int)
- refreshToken (String)
- tokenType (String)
- userErrors ([UserError!]!)
- Anchor to accessTokenaccess•String
Token New AccessToken for Users API.
- Anchor to expiresInexpires•Int
In Access Token TTL in Seconds.
- Anchor to refreshTokenrefresh•String
Token New RefreshToken for Users API used to get new AccessTokens.
- Anchor to tokenTypetoken•String
Type New RefreshToken for Users API used to get new AccessTokens.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null List of errors that occured while executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- fetchCustomDataTokenForUser (FetchCustomDataTokenForUserPayload)
- •mutation
Fetch an OAuth Access and Refresh Token pair for the Shop Users API to read or write metafields after user's presence interaction ends.
If a user has used Sign in with Shop with your App client, you may retreive tokens to read / write your own metafields on a user.
- Anchor to emailemail•String!required
The email of the buyer for whom you need an Access token.
- Anchor to throughthrough•String
Private to Shopify Internal clients. Allows a storefront to be passed in by its myshopify domain.
Arguments
Was this section helpful?