Skip to main content
Anchor to CustomDataPermissible

CustomDataPermissible

interface

Defines the bases fields for a resource that can be shared. Used to provide a standard interface for access control Sharable resources are MetafieldDefinitions, MetafieldNamespaces, MetaObjects.

•String

Developer facing description.

•String!
non-null

Developer facing identifier for the resource.

•String

Developer facing display name.

•String

Developer facing path to identifier for the resource.

•ID!
non-null

Internal identifier for the resource.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A MetafieldDefinition is a Permissible type. It is managed by a Client and defines the shape of the data stored in in a Metafield. Control and access of a MetafieldDefinition is determined by AccessGrants that link the definition to Clients or Namespaces.

•CustomDataAccessType

List of the active policies associated with this Definition. Policies represent ownership of the Definition and can be granted to Clients and Nampespaces.

•String

Developer facing description.

•String!
non-null

Developer facing identifier for the resource.

•String

Developer facing display name.

•String

Developer facing path to identifier for the resource.

•MetafieldDefinitionType!
non-null

One of the types available in the Metafield developer documentation (https://shopify.dev/docs/apps/custom-data/metafields/types), except JSON.

•ID!
non-null

Internal identifier for the resource.

•[CustomDataMetafieldDefinitionValidationType!]

A list of validation options for the metafields that belong to the metafield definition.


Was this section helpful?