Skip to main content

ProductMediaReorder

Changes ordering of the product media.

Requires MANAGE_PRODUCTSpermission.
type ProductMediaReorder {
product: Product
media: [ProductMedia!]
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

ProductMediaReorder.product ● Product object products

ProductMediaReorder.media ● [ProductMedia!] list object products

ProductMediaReorder.productErrors ● [ProductError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ProductMediaReorder.errors ● [ProductError!]! non-null object products

Returned By

productMediaReorder mutation