Skip to main content
Anchor to FetchCustomDataTokenForUserPayload

FetchCustomDataTokenForUserPayload

payload

Return type for the fetchCustomDataTokenForUser mutation.

•String

New AccessToken for Users API.

•Int

Access Token TTL in Seconds.

•String

New RefreshToken for Users API used to get new AccessTokens.

•String

New RefreshToken for Users API used to get new AccessTokens.

•[UserError!]!
non-null

List of errors that occured while executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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.

Arguments

•String!
required

The email of the buyer for whom you need an Access token.

•String

Private to Shopify Internal clients. Allows a storefront to be passed in by its myshopify domain.



Was this section helpful?