Skip to main content
Version: 3.x

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

ProductMediaReorder.media ● [ProductMedia!] list object

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

DEPRECATED

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

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

Returned by

productMediaReorder mutation


Was this page helpful?