Skip to main content
Anchor to delegateAccessTokenCreate

delegateAccessTokenCreate

mutation

Creates a DelegateAccessToken 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.

DelegateAccessTokenInput!
required

The input fields for creating a delegate access token.


Was this section helpful?

Anchor to DelegateAccessTokenCreatePayload returnsDelegateAccessTokenCreatePayload returns

DelegateAccessToken

The delegate access token.

Shop!
non-null

The user's shop.

[DelegateAccessTokenCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?