MetaobjectDefinition
Requires access scope.
Provides the definition of a generic object structure composed of metafields.
Anchor to Fields and connectionsFields and connections
- Anchor to accessaccess•Metaobject
Access! non-null Access configuration for the metaobject definition.
- Anchor to capabilitiescapabilities•Metaobject
Capabilities! non-null The capabilities of the metaobject definition.
- Anchor to createdByAppcreated•
By App App!non-null The app used to create the metaobject definition.
- Anchor to createdByStaffcreated•
By Staff The staff member who created the metaobject definition.
- Anchor to descriptiondescription•
The administrative description.
- Anchor to displayNameKeydisplay•
Name Key The key of a field to reference as the display name for each object.
- Anchor to fieldDefinitionsfield•
Definitions [MetaobjectField non-nullDefinition!]! The fields defined for this object type.
- Anchor to hasThumbnailFieldhas•
Thumbnail Field Boolean!non-null Whether this metaobject definition has field whose type can visually represent a metaobject with the
.
- •ID!non-null
A globally-unique ID.
- Anchor to metaobjectsmetaobjects•Metaobject
Connection! non-null A paginated connection to the metaobjects associated with the definition.
- Anchor to metaobjectsCountmetaobjects•
Count Int!non-null The count of metaobjects created for the definition.
- Anchor to namename•String!non-null
The human-readable name.
- Anchor to typetype•String!non-null
The type of the object definition. Defines the namespace of associated metafields.
Map
Fields and connections with this object
Anchor to QueriesQueries
- •query
Retrieves a metaobject definition by ID.
- •query
Finds a metaobject definition by type.
- •query
All metaobject definitions.
MetaobjectDefinition Queries
Anchor to MutationsMutations
- •mutation
Creates a new metaobject definition.
- •mutation
Updates a metaobject definition with new settings and metafield definitions.
- •mutation
Enables the specified standard metaobject definition from its template.