Anchor to MetaobjectUpsertPayloadMetaobject
payloadMetaobject Upsert Payload
Return type for mutation.
Anchor to FieldsFields
- metaobject (Metaobject)
- userErrors ([MetaobjectUserError!]!)
- 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?
Anchor to Mutations with this payloadMutations with this payload
- metaobjectUpsert (MetaobjectUpsertPayload)
- •mutation
Creates or updates a
Metaobjectbased 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 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.
Arguments
Was this section helpful?