Anchor to DelegateAccessTokenCreatePayloadDelegate
payloadDelegate Access Token Create Payload
Return type for mutation.
Anchor to FieldsFields
- delegateAccessToken (DelegateAccessToken)
- shop (Shop!)
- userErrors ([DelegateAccessTokenCreateUserError!]!)
- Anchor to delegateAccessTokendelegate•Delegate
Access Token Access Token The delegate access token.
Show fields
- Anchor to shopshop•Shop!non-null
The user's shop.
Show fields
- Anchor to userErrorsuser•[Delegate
Errors Access Token Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- delegateAccessTokenCreate (DelegateAccessTokenCreatePayload)
- •mutation
Creates a
with a subset of the parent token's permissions.Delegate access tokens enable secure permission delegation to subsystems or services that need limited access to shop resources. Each token inherits only the scopes you specify, ensuring subsystems operate with minimal required permissions rather than full app access.
Learn more about delegating access tokens to subsystems.
Show payload
- Anchor to inputinput•Delegate
Access Token Input! required The input fields for creating a delegate access token.
Show input fields
Arguments
Was this section helpful?