Skip to main content
Anchor to MetaobjectDefinitionUpdateInput

MetaobjectDefinitionUpdateInput

input_object

The input fields for updating a metaobject definition.

•MetaobjectAccessInput

Access configuration for the metaobjects created with this definition.

Show input fields
•MetaobjectCapabilityUpdateInput

The capabilities of the metaobject definition.

Show input fields
•String

An administrative description of the definition.

•String

The key of a metafield to reference as the display name for objects of this type.

•String

The key of a field to use as the thumbnail for metaobjects of this type. Must reference a color or list.color field, or a file_reference or list.file_reference field restricted to Image and/or Video by its file_type_options validation. Omit it to keep the current selection, or set it to null to select a thumbnail automatically. When set, only that field is used, even if its value is empty. A list field uses its first item. If the update deletes the selected field or makes it ineligible, the key is cleared and a thumbnail is selected automatically.

•[MetaobjectFieldDefinitionOperationInput!]

A set of operations for modifying field definitions.

Show input fields
•String

A human-readable name for the definition.

•Boolean
Default:false

Whether the field order should be reset while updating. If true, then the order is assigned based on submitted fields followed by alphabetized field omissions. If false, then no changes are made to the existing field order and new fields are appended at the end.


Was this section helpful?