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.

Show input fields

Was this section helpful?

Anchor to DelegateAccessTokenCreatePayload returnsDelegateAccessTokenCreatePayload returns

•DelegateAccessToken

The delegate access token.

Show fields
•Shop!
non-null

The user's shop.

Show fields
•[DelegateAccessTokenCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?