Product Reorder Media Payload
Return type for mutation.
Anchor to FieldsFields
- •Job
The asynchronous job which reorders the media.
- Anchor to mediaUserErrorsmedia•[Media
User Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Reorders media attached to a product, changing their sequence in product displays. The operation processes asynchronously to handle products with large media collections.
Specify the product ID and an array of moves, where each move contains a media ID and its new zero-based position.
NoteOnly include media items that need repositioning. Unchanged items maintain their relative order automatically.
The mutation returns a
Jobto track the reordering progress. Poll the job status to determine when the operation completes and media positions update across all sales channels.Learn more about reordering product media.
- •ID!required
The ID of the product on which to reorder medias.
- Anchor to movesmoves•[Move
Input!]! required A list of moves to perform which will be evaluated in order.
Arguments
- •ID!