Skip to main content
Anchor to MetaobjectUpdatePayload

MetaobjectUpdatePayload

payload

Return type for metaobjectUpdate mutation.

•Metaobject

The updated 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

Updates a Metaobject with new field values, handle, or capabilities. Metaobjects are custom data structures that extend Shopify's data model.

You can modify field values mapped to the metaobject's MetaobjectDefinition, update the handle for a unique identifier, and adjust capabilities like publishing status. When updating the handle, you can optionally create a redirect from the old handle to maintain existing references.

Arguments

•ID!
required

The ID of the metaobject to update.

•MetaobjectUpdateInput!
required

Specifies parameters to update on the metaobject.



Was this section helpful?