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

updateProductImageProperties

Example Query
1mutation ExampleMutation($input: UpdateProductImagePropertiesInput) {
2 updateProductImageProperties(input: $input) {
3 images {
4 pageInfo
5 edges
6 collectionInfo
7 }
8 }
9}
Variables
1{
2 "input": {
3 "productId": "example",
4 "data": [
5 {
6 "imageId": "example",
7 "sortOrder": "Long",
8 "altText": "example",
9 "isThumbnail": true,
10 "overrides": [
11 {
12 "channelLocaleOverrides": {
13 "context": {
14 "channelId": null,
15 "locale": null
16 },
17 "data": {
18 "sortOrder": null,
19 "altText": null,
20 "isThumbnail": null
21 }
22 }
23 }
24 ]
25 }
26 ]
27 }
28}
Example response
1{
2 "data": {
3 "updateProductImageProperties": {
4 "images": {
5 "pageInfo": {
6 "hasNextPage": null,
7 "hasPreviousPage": null,
8 "startCursor": null,
9 "endCursor": null
10 },
11 "edges": [
12 {
13 "node": null,
14 "cursor": null
15 }
16 ],
17 "collectionInfo": {
18 "totalItems": null
19 }
20 }
21 }
22 }
23}
Updates product images.
Was this page helpful?
Previous

removeImagesFromProduct

Next

removeProductImagePropertiesOverrides

Built with

Arguments

inputUpdateProductImagePropertiesInputRequired

Returns

an optional UpdateProductImagePropertiesResult
imagesProductImageConnection
The images list with added and removed images.