productMediaReorder Mutation
Changes ordering of the product media.
productMediaReorder(mediaIds: [ID!]!, productId: ID!): ProductMediaReorder
Returns
Show return type
type ProductMediaReorder {
product: Product
media: [ProductMedia!]
productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [ProductError!]!
}Arguments
mediaIds
mediaIds · [ID!]!
IDs of a product media in the desired order.
productId
productId · ID!
ID of product that media order will be altered.
Schema: Saleor 3.23.43. Download SDL.