Anchor to metafieldAccessGrantmetafield
mutationmetafield Access Grant
Share a Metafield Primitive with a Client or Namespace. Requires the 'share_metafield' client scope and requires that the Client making the request has Admin permission on the Resource.
Anchor to Arguments
Arguments
- access (CustomDataAccessInput!)
- identifier (CustomDataKeyPairInput!)
- key (String)
- Anchor to accessaccess•Custom
Data Access Input! required Update the default permission of the resource and/or provide a list of targets to give access to the resource.
- Anchor to identifieridentifier•Custom
Data Key Pair Input! required Key and namespace pair that together form the path to the resource. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided.
- •String
Use 'key' to provide a new key for the target when sharing, if desired. Only changes the key for the newly shared resource within the grantee's reserved namespace, not the grantor's.
Was this section helpful?
- userErrors ([UserError!]!)
- Anchor to userErrorsuser•[User
Errors Error!]! non-null List of errors that occured while executing the mutation.
Was this section helpful?