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
- Add a step and choose the Shopify connector.
- Pick the metafieldDefinitionTypes action (under Metafield).
- 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.
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.
Was this page helpful?