Skip to main content
Version: 3.x

productMediaReorder

Changes ordering of the product media.

Requires MANAGE_PRODUCTSpermission.
productMediaReorder(
mediaIds: [ID!]!
productId: ID!
): ProductMediaReorder

Arguments

productMediaReorder.mediaIds ● [ID!]! non-null scalar

IDs of a product media in the desired order.

productMediaReorder.productId ● ID! non-null scalar

ID of product that media order will be altered.

Type

ProductMediaReorder object

Changes ordering of the product media.

Requires MANAGE_PRODUCTSpermission.

Was this page helpful?