Interface ProductTailoringChangeAssetOrderAction

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

interface ProductTailoringChangeAssetOrderAction {
    action: "changeAssetOrder";
    assetOrder: string[];
    sku?: string;
    staged?: boolean;
    variantId?: number;
}

Properties

action: "changeAssetOrder"
assetOrder: string[]

All existing Asset ids of the ProductVariantTailoring in the desired new order.

sku?: string

The sku of the tailored ProductVariant to update.

staged?: boolean

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

variantId?: number

The id of the tailored ProductVariant to update.