Skip to main content
mutation

Requires write_metaobjects access scope.

Retrieves a metaobject by handle, then updates it with the provided input values. If no matching metaobject is found, a new metaobject is created with the provided input values.

MetaobjectHandleInput!required

The identifier of the metaobject to upsert.

MetaobjectUpsertInput!required

The parameters to upsert the metaobject.


Was this section helpful?

Anchor to MetaobjectUpsertPayload returnsMetaobjectUpsertPayload returns

Metaobject

The created or updated metaobject.

[MetaobjectUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?