Skip to main content
mutation

Requires write_products access scope. Also: The user must have a permission to reorder the media attached to a product.

Asynchronously reorders the media attached to a product, changing the sequence in which images, videos, and other media appear in product displays. This affects how media is presented across all sales channels.

For example, merchants can move their best product photo to the first position or reorder images to tell a better product story, with changes appearing in storefronts once processing completes.

Use ProductReorderMedia to:

  • Optimize media presentation order for better customer experience
  • Implement drag-and-drop media management interfaces
  • Automate media sequencing based on performance or quality metrics

The operation processes asynchronously to handle products with large media collections without blocking other operations.

Learn more about product media.

•ID!
required

The ID of the product on which to reorder medias.

•[MoveInput!]!
required

A list of moves to perform which will be evaluated in order.


Was this section helpful?

Anchor to ProductReorderMediaPayload returnsProductReorderMediaPayload returns

•Job

The asynchronous job which reorders the media.

•[MediaUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?