App Downgrade Access Scopes User Error
An error that happens while downgrading granted write access scopes to read access scopes.
Anchor to FieldsFields
- code (AppDowngradeAccessScopesUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•App
Downgrade Access Scopes User Error Code The error code.
Show enum values
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- appDowngradeAccessScopes (AppDowngradeAccessScopesPayload)
- •mutation
Downgrades granted optional write access scopes to their matching read access scopes. For example, downgrading
removesand keeps, so the app can keep reading products without asking the merchant to grantagain.Revoking a write scope with
also removes its read access when the read scope was only granted through the write scope. Use this mutation instead when the app still needs read access.The mutation always acts on the calling app's own installation on the shop. Only write scopes that the app declares as optional can be downgraded. Required scopes can't be downgraded. Write scopes that aren't currently granted are ignored.
Learn more about managing app permissions.
Show payload
- Anchor to scopesscopes•[String!]!required
The handles of the write scopes to downgrade, for example
. Each granted write scope is replaced with its matching read scope.
Arguments