Skip to main content
mutation

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

Deprecated. Use fileUpdate instead.

Updates media for a product.

•[UpdateMediaInput!]!required

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

•[Media!]

The updated media object.

•[MediaUserError!]!non-null

The list of errors that occurred from executing the mutation.

•Product

The product on which media was updated.

•[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?