Anchor to collectionConditionMetafieldDefinitionscollection
querycollection Condition Metafield Definitions
Requires access scope. Also: User needs Products permission.
Lists all metafield definitions that can be used to create collection conditions.
Anchor to Possible returnsPossible returns
- CollectionConditionMetafieldDefinitionInterface ([CollectionConditionMetafieldDefinitionInterface!]!)
- Anchor to CollectionConditionMetafieldDefinitionInterfaceCollection•[Collection
Condition Metafield Definition Interface Condition Metafield Definition Interface!]! Common fields exposed by every metafield definition usable as a collection condition.
- Anchor to descriptiondescription•String
The description of the metafield definition.
- •ID!non-null
The ID of the underlying metafield definition.
- •String!non-null
The unique identifier for the metafield definition within its namespace.
- Anchor to namename•String!non-null
The human-readable name of the metafield definition.
- Anchor to namespacenamespace•String!non-null
The container for a group of metafields that the metafield definition is associated with.
- Anchor to ownerTypeowner•Metafield
Type Owner Type! non-null The resource type that the metafield definition is attached to.
- Anchor to typetype•Metafield
Definition Type! non-null The data type of the metafield definition.
- Anchor to validationsvalidations•[Metafield
Definition Validation!]! non-null A list of validation options for the metafields that belong to the metafield definition.
Was this section helpful?