younifyd
Menu

metafieldDefinitionTypes

The available metafield types that you can use when creating MetafieldDefinition objects. Each type specifies what kind of data it stores (such as boolean, color, date, or references), its category, and which…

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the metafieldDefinitionTypes action (under Metafield).
  3. Fill in the fields below, then reference the result from later steps as {{metafielddefinitiontypes.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query MetafieldDefinitionTypes {
  metafieldDefinitionTypes {
    category
    name
    supportedValidations {
      name
      type
    }
    supportsDefinitionMigrations
    valueType
  }
}

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

metafieldDefinitionTypes — Shopify — Documentation