Skip to main content

productMediaReorder Mutation

Changes ordering of the product media.

Requires the MANAGE_PRODUCTSpermission.
productMediaReorder(
mediaIds: [ID!]!
productId: ID!
): ProductMediaReorder
Show return type

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 the MANAGE_PRODUCTSpermission.