Standard metaobject definitions
Standard metaobject definitions are metaobject definitions with a specific type
that we've reserved. Standard metaobject definitions have pre-configured access grants, a known set of metaobject fields, and preconfigured capabilities. Standards ensure interoperability across the Shopify ecosystem.
Note
The Shopify standard taxonomy is a suite of standard metaobject definitions that's used to store and manage product taxonomy categories and attributes. Learn how to integrate your app with the Shopify standard product taxonomy.
The following table lists available standard metaobject definitions:
Name | ID | Type | Details | Fields |
---|---|---|---|---|
Product Review | 2 | product_review | Stores and manages product reviews, including ratings, review content, and associated metadata. This metaobject definition is only available to approved partners. Learn about the standard product review syndication program. |
|
Anchor to Interacting with metaobject definitions using the GraphQL Admin APIInteracting with metaobject definitions using the Graph QL Admin API
You can interact with standard metaobject definitions using GraphQL queries or mutations:
Action | Query or mutation |
---|---|
Access standard metaobject definition templates | Use the standardMetaobjectDefinitionTemplates query to access standard metaobject definition templates. |
Access metaobject definition | Use the metaobjectDefinition query to access a standard metaobject definition. |
Create a metaobject definition | Use the standardMetaobjectDefinitionEnable mutation to create a metaobject definition using one of the standard metaobject definition templates. To specify the template you want to use, provide the ID for the template in the format gid://shopify/StandardMetaobjectDefinitionTemplate/<id> , where id is the corresponding ID value from the table. |
Delete a metaobject definition | Use the metaobjectDefinitionDelete mutation to delete a metaobject definition. |
Was this page helpful?