Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

mutationDeprecated

Requires write_products access scope. Also: The user must have a permission to update media for a product.

Updates media for a product. Use fileUpdate instead.

A list of media updates.

ID!required

Specifies the product on which media will be updated.


Was this section helpful?

Anchor to ProductUpdateMediaPayload returnsProductUpdateMediaPayload returns

The updated media object.

The list of errors that occurred from executing the mutation.

The product on which media was updated.

[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?