Anchor to MetaobjectUpdatePayloadMetaobject
payloadMetaobject Update Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to metaobjectmetaobject•Metaobject
The 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
- •mutation
Updates a
Metaobjectwith 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
, 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.- •ID!required
The ID of the metaobject to update.
- Anchor to metaobjectmetaobject•Metaobject
Update Input! required Specifies parameters to update on the metaobject.
Arguments
- •ID!
Was this section helpful?