--- title: MetaobjectUpsertPayload - GraphQL Admin description: Return type for `metaobjectUpsert` mutation. api_version: 2025-10 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/metaobjectupsertpayload md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/metaobjectupsertpayload.md --- # Metaobject​Upsert​Payload payload Return type for `metaobjectUpsert` mutation. ## Fields * metaobject [Metaobject](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metaobject) The created or updated metaobject. * user​Errors [\[Metaobject​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetaobjectUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [metaobject​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metaobjectUpsert) mutation Retrieves a metaobject by handle, then updates it with the provided input values. If no matching metaobject is found, a new metaobject is created with the provided input values. *** ## Map ### Mutations with this payload * [metaobject​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/types/metaobjectUpsert)