Anchor to MetaobjectCreatePayloadMetaobject
payloadMetaobject Create Payload
Return type for mutation.
Anchor to FieldsFields
- metaobject (Metaobject)
- userErrors ([MetaobjectUserError!]!)
- Anchor to metaobjectmetaobject•Metaobject
The created 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
- metaobjectCreate (MetaobjectCreatePayload)
- •mutation
Creates a metaobject entry based on an existing
. The type must match a definition that already exists in the shop.Specify field values using key-value pairs that correspond to the field definitions. The mutation generates a unique handle automatically if you don't provide one. You can also configure capabilities like publishable status to control the metaobject's visibility across channels.
Learn more about managing metaobjects.
- Anchor to metaobjectmetaobject•Metaobject
Create Input! required The parameters for the metaobject to create.
Arguments
Was this section helpful?