For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
          • MUTcreateAppExtension
          • MUTupdateAppExtension
          • MUTdeleteAppExtension
          • MUTcreateChannel
          • MUTremoveProductBasicInformationOverrides
          • MUTremoveProductSeoInformationOverrides
          • MUTremoveProductOptionsOverrides
          • MUTremoveProductStorefrontDetailsOverrides
          • MUTremoveProductPreOrderSettingsOverrides
          • MUTsetProductBasicInformation
          • MUTsetProductIsFeatured
          • MUTremoveProductIsFeaturedOverride
          • MUTsetProductSeoInformation
          • MUTsetProductStorefrontDetails
          • MUTsetProductPreOrderSettings
          • MUTsetProductOptionsInformation
          • MUTsetProductUrlPath
          • MUTremoveProductUrlPathOverride
          • MUTsetProductModifiersInformation
          • MUTremoveProductModifiersOverrides
          • MUTremoveProductCustomFieldsOverrides
          • MUTupdateProductCustomFields
          • MUTaddImagesToProduct
          • MUTremoveImagesFromProduct
          • MUTupdateProductImageProperties
          • MUTremoveProductImagePropertiesOverrides
          • MUTsetSharedProductModifiersInformation
          • MUTremoveSharedProductModifiersOverrides
          • MUTsetSharedProductOptionsInformation
          • MUTremoveSharedProductOptionsOverrides
          • MUTsettings
          • MUTupdateTranslations
          • MUTdeleteTranslations
          • MUTaddLocale
          • MUTdeleteLocale
          • MUTupdateLocale
          • MUTcreateEventBridgeWebhook
          • MUTcreatePubSubWebhook
          • MUTupdatePubSubWebhook
          • MUTupdateEventBridgeWebhook
          • MUTcreateHttpsWebhook
          • MUTdeleteWebhook
          • MUTupdateHttpsWebhook
          • MUTcreateMetafield
          • MUTupdateMetafield
          • MUTdeleteMetafield
          • MUTreassignMetafieldsOwner
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAdminMutations

reassignMetafieldsOwner

Example Query
1mutation ExampleMutation($input: ReassignMetafieldsOwnerInput) {
2 reassignMetafieldsOwner(input: $input) {
3 metafieldIds
4 errors
5 }
6}
Variables
1{
2 "input": {
3 "newClientId": "example",
4 "metafieldIds": [
5 "example"
6 ]
7 }
8}
Example response
1{
2 "data": {
3 "reassignMetafieldsOwner": {
4 "metafieldIds": [
5 "example"
6 ],
7 "errors": [
8 {
9 "id": "example",
10 "message": "example"
11 }
12 ]
13 }
14 }
15}
Reassign metafields to new client.
Was this page helpful?
Previous

deleteMetafield

Next

Overview

Built with

Arguments

inputReassignMetafieldsOwnerInputRequired

Returns

an optional ReassignMetafieldsOwnerResult
errorslist of ReassignMetafieldOwnerErrors
Errors that occurred during metafields reassignment.
metafieldIdslist of Strings
Ids of metafields that were successfully reassigned to new owner.