Skip to main content

productMediaReorder

Changes ordering of the product media.

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

Arguments

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

IDs of a product media in the desired order.

productMediaReorder.productId ● ID! non-null scalar miscellaneous

ID of product that media order will be altered.

Type

ProductMediaReorder object products

Changes ordering of the product media.

Requires MANAGE_PRODUCTSpermission.