Anchor to delegateAccessTokenCreatedelegate
mutationdelegate Access Token Create
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 Arguments
Arguments
- input (DelegateAccessTokenInput!)
- Anchor to inputinput•Delegate
Access Token Input! required The input fields for creating a delegate access token.
Show input fields
Was this section helpful?
- 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?