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

    Interface ProductTailoringMoveImageToPositionAction

    Either variantId or sku is required to reference a ProductVariant that exists.

    interface ProductTailoringMoveImageToPositionAction {
        action: "moveImageToPosition";
        imageUrl: string;
        position: number;
        sku?: string;
        staged?: boolean;
        variantId?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    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.

    sku?: string

    The sku of the tailored ProductVariant to update.

    staged?: boolean

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

    variantId?: number

    The id of the tailored ProductVariant to update.