@gradientedge/commercetools-utils
    Preparing search index...

    Interface VariantMoveImageToPositionAction

    Moves a Variant's image to a new position.

    interface VariantMoveImageToPositionAction {
        action: "moveImageToPosition";
        imageUrl: string;
        position: number;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "moveImageToPosition"
    imageUrl: string

    The URL of the image to update.

    position: number

    Position in images where the image should be moved. Must be between 0 and the total number of images minus 1.

    staged?: boolean

    If true, only the staged images is updated. If false, both the current and staged images is updated.