Skip to main content
Version: 3.x

productMediaReorder

Changes ordering of the product media.

Requires one of the following permissions: MANAGE_PRODUCTS.

productMediaReorder(
mediaIds: [ID!]!
productId: ID!
): ProductMediaReorder

Arguments

mediaIds ([ID!]!)

IDs of a product media in the desired order.

productId (ID!)

ID of product that media order will be altered.

Type

ProductMediaReorder

Changes ordering of the product media.

Requires one of the following permissions: MANAGE_PRODUCTS.