Anchor to metaobjectCreatemetaobject
mutationmetaobject Create
Requires access scope.
Creates a metaobject entry based on an existing . The type must match a definition that already exists in the shop.
Specify field values using key-value pairs that correspond to the field definitions. The mutation generates a unique handle automatically if you don't provide one. You can also configure capabilities like publishable status to control the metaobject's visibility across channels.
Learn more about managing metaobjects.
Anchor to Arguments
Arguments
- Anchor to metaobjectmetaobject•Metaobject
Create Input! required The parameters for the metaobject to create.
Was this section helpful?
- Anchor to metaobjectmetaobject•Metaobject
The created metaobject.
- Anchor to userErrorsuser•[Metaobject
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?