Metaobject Definition
read_metaobject_definitions access scope.Subscribe to field-level changes on the MetaobjectDefinition GraphQL Admin API object. You can subscribe to create, delete, and update events, and to changes to specific fields.
Each topic corresponds to a commerce resource, such as a metaobject definition, that can exist independently within its domain. Child entities that depend on a parent within the same domain don't have their own topic. Instead, changes to child entities trigger a delivery on the parent topic.
You can't use calculated fields, derived fields, auto-updated timestamps, or cross-domain fields as triggers.
Subscriptions can include multiple triggers. Use the shopify-webhook-id header for deduplication when handling duplicate deliveries.
You can use custom queries to query the full GraphQL Admin API, not only MetaobjectDefinition.
shopify.app.toml
Anchor to Supported triggersSupported triggers
MetaobjectDefinition subscriptions support the following field-level triggers.
Anchor to list-of-topics-metaobjectDefinitionmetaobjectDefinition
Fires when events involve the object.
The "create" and "delete" actions are only relevant within the context of this parent topic. Use to follow or replicate impacted data after a delete event. Define a custom query to retrieve specific fields from create events.
Collect details about changes to the object by subscribing to the trigger along with the "update" action, though it's recommended that you narrow your subscription to one of the other triggers below.
Variables:
Anchor to list-of-topics-metaobjectDefinition.accessmetaobjectDefinition .access
Fires when the access field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Access configuration for the metaobject definition.
Variables:
Anchor to list-of-topics-metaobjectDefinition.access.adminmetaobjectDefinition .access .admin
Fires when the admin field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The admin field represents the access permitted on the Admin API.
Variables:
Anchor to list-of-topics-metaobjectDefinition.access.customerAccountmetaobjectDefinition .access .customerAccount
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the access permitted on the Customer Account API.
Variables:
Anchor to list-of-topics-metaobjectDefinition.access.storefrontmetaobjectDefinition .access .storefront
Fires when the storefront field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The storefront field represents the access permitted on the Storefront API.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilitiesmetaobjectDefinition .capabilities
Fires when the capabilities field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The capabilities field represents the capabilities of the metaobject definition.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.onlineStoremetaobjectDefinition .capabilities .onlineStore
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates whether a metaobject definition can be displayed as a page on the Online Store.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.onlineStore.datametaobjectDefinition .capabilities .onlineStore .data
Fires when the data field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The data field represents the data associated with the Online Store capability.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.onlineStore.data.urlHandlemetaobjectDefinition .capabilities .onlineStore .data .urlHandle
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the URL handle for accessing pages of this metaobject type in the Online Store.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.onlineStore.enabledmetaobjectDefinition .capabilities .onlineStore .enabled
Fires when the enabled field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates if the capability is enabled.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.publishablemetaobjectDefinition .capabilities .publishable
Fires when the publishable field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicate whether a metaobject definition is publishable.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.publishable.enabledmetaobjectDefinition .capabilities .publishable .enabled
Fires when the enabled field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates if the capability is enabled.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.renderablemetaobjectDefinition .capabilities .renderable
Fires when the renderable field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicate whether a metaobject definition is renderable and exposes SEO data.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.renderable.datametaobjectDefinition .capabilities .renderable .data
Fires when the data field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The data field represents the data associated with the renderable capability.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.renderable.data.metaDescriptionKeymetaobjectDefinition .capabilities .renderable .data .metaDescriptionKey
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the metaobject field used as an alias for the SEO page description.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.renderable.data.metaTitleKeymetaobjectDefinition .capabilities .renderable .data .metaTitleKey
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the metaobject field used as an alias for the SEO page title.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.renderable.enabledmetaobjectDefinition .capabilities .renderable .enabled
Fires when the enabled field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates if the capability is enabled.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.translatablemetaobjectDefinition .capabilities .translatable
Fires when the translatable field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicate whether a metaobject definition is translatable.
Variables:
Anchor to list-of-topics-metaobjectDefinition.capabilities.translatable.enabledmetaobjectDefinition .capabilities .translatable .enabled
Fires when the enabled field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates if the capability is enabled.
Variables:
Anchor to list-of-topics-metaobjectDefinition.descriptionmetaobjectDefinition .description
Fires when the description field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The description field represents the administrative description.
Variables:
Anchor to list-of-topics-metaobjectDefinition.displayNameKeymetaobjectDefinition .displayNameKey
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the key of a field to reference as the display name for each object.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitionsmetaobjectDefinition .fieldDefinitions
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the fields defined for this object type.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.capabilitiesmetaobjectDefinition .fieldDefinitions .capabilities
Fires when the capabilities field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Capabilities available for this metaobject field definition.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.capabilities.adminFilterablemetaobjectDefinition .fieldDefinitions .capabilities .adminFilterable
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicate whether a metaobject field definition is configured for filtering.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.capabilities.adminFilterable.enabledmetaobjectDefinition .fieldDefinitions .capabilities .adminFilterable .enabled
Fires when the enabled field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Indicates if the capability is enabled.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.descriptionmetaobjectDefinition .fieldDefinitions .description
Fires when the description field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The description field represents the administrative description.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.namemetaobjectDefinition .fieldDefinitions .name
Fires when the name field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The name field represents the human-readable name.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.requiredmetaobjectDefinition .fieldDefinitions .required
Fires when the required field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Required status of the field within the metaobject composition.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.validationsmetaobjectDefinition .fieldDefinitions .validations
Fires when the validations field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The validations field contains a list of validation options for the field.
Variables:
Anchor to list-of-topics-metaobjectDefinition.fieldDefinitions.visibleToStorefrontApimetaobjectDefinition .fieldDefinitions .visibleToStorefrontApi
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field indicates whether this field is visible within the Storefront API.
Variables:
Anchor to list-of-topics-metaobjectDefinition.namemetaobjectDefinition .name
Fires when the name field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The name field represents the human-readable name.
Variables: