Skip to main content
mutation

Requires write_products access scope. Also: The user must have a permission to update an image of a product.

Deprecated. Use productUpdateMedia instead. This will be removed in 2024-10.

Updates an image of a product.

•ImageInput!
required

Image to be updated.

•ID!
required

The ID of the product on which to update the image.


Was this section helpful?

Anchor to ProductImageUpdatePayload returnsProductImageUpdatePayload returns

•Image

The image that has been updated.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »