List of 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.
The following table describes the 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. |
|
Interacting with standard metaobject definitions
Anchor link to section titled "Interacting with standard metaobject definitions"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. |