Menu
collectionConditionMetafieldDefinitions
Lists all metafield definitions that can be used to create collection conditions.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the collectionConditionMetafieldDefinitions action (under Collection).
- Fill in the fields below, then reference the result from later steps as
{{collectionconditionmetafielddefinitions.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 CollectionConditionMetafieldDefinitions {
collectionConditionMetafieldDefinitions {
description
id
key
name
namespace
ownerType
type {
category
name
supportedValidations {
name
type
}
supportsDefinitionMigrations
valueType
}
validations {
name
type
value
}
}
}
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?