Skip to main content
Anchor to standardMetafieldDefinitionTemplates

standardMetafieldDefinitionTemplates

query

Retrieves preset metafield definition templates for common use cases. Each template provides a reserved namespace and key combination for specific purposes like product subtitles, care guides, or ISBN numbers. Use these templates to create standardized metafields across your store. Filter templates by constraint status or exclude those you've already activated.

See the list of standard metafield definitions for available templates.

Anchor to Arguments

StandardMetafieldDefinitionTemplateConnection arguments

StandardMetafieldDefinitionTemplateConnection!
String

The elements that come after the specified cursor.

String

The elements that come before the specified cursor.

MetafieldDefinitionConstraintStatus

Filter standard metafield definitions based on whether they are constrained.

MetafieldDefinitionConstraintSubtypeIdentifier

Filter standard metafield definitions based on whether they apply to a given resource subtype.

Boolean
Default:false

Filter standard metafield definitions that have already been activated.

Int

The first n elements from the paginated list.

Int

The last n elements from the paginated list.

Boolean
Default:false

Reverse the order of the underlying list.


Was this section helpful?

[StandardMetafieldDefinitionTemplateEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

[StandardMetafieldDefinitionTemplate!]!
non-null

A list of nodes that are contained in StandardMetafieldDefinitionTemplateEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?