Anchor to MetafieldDefinitionConstraintsUpdatesInputMetafield
input_objectMetafield Definition Constraints Updates Input
The input fields required to update metafield definition constraints. Each constraint applies a metafield definition to a subtype of a resource.
Anchor to FieldsFields
- •String
The category of resource subtypes that the definition applies to. If omitted and the definition is already constrained, the existing constraint key will be used. If set to
null
, all constraints will be removed.- Anchor to valuesvalues•[Metafield
Definition Constraint Value Update Input!] The specific constraint subtype values to create or delete.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- Anchor to MetafieldDefinitionUpdateInput.constraintsUpdatesMetafield•INPUT OBJECT
Definition Update Input.constraints Updates The constraints that determine what resources a metafield definition applies to.
Was this section helpful?