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.
- Anchor to shopshop•Shop!non-null
The user's shop.
- Anchor to userErrorsuser•[Delegate
Errors Access Token Create User Error!]! non-null The list of errors that occurred from executing the mutation.
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.
- Anchor to inputinput•Delegate
Access Token Input! required The input fields for creating a delegate access token.
Arguments
Was this section helpful?