Skip to main content
Anchor to MetaobjectCreatePayload

MetaobjectCreatePayload

payload

Return type for metaobjectCreate mutation.

•Metaobject

The created metaobject.

•[MetaobjectUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a metaobject entry based on an existing MetaobjectDefinition. 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.

Arguments

•MetaobjectCreateInput!
required

The parameters for the metaobject to create.



Was this section helpful?