Anchor to metaobjectUpsertmetaobject
mutationmetaobject Upsert
Requires access scope.
Creates or updates a Metaobject based on its handle. If a metaobject with the specified handle exists, the mutation updates it with the provided field values. If no matching metaobject exists, the mutation creates a new one.
The handle serves as a unique identifier within a metaobject type. Field values map to the 's field keys and overwrite existing values during updates.
Anchor to Arguments
Arguments
- Anchor to handlehandle•Metaobject
Handle Input! required The identifier of the metaobject to upsert.
- Anchor to metaobjectmetaobject•Metaobject
Upsert Input! required The parameters to upsert the metaobject.
Was this section helpful?
- Anchor to metaobjectmetaobject•Metaobject
The created or updated metaobject.
- Anchor to userErrorsuser•[Metaobject
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?