Returned when a Product Variant value conflicts with an existing one during an Update Product request.

interface DuplicateVariantValuesError {
    code: "DuplicateVariantValues";
    message: string;
    variantValues: VariantValues;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "DuplicateVariantValues"
message: string

"A duplicate combination of the variant values (sku, key, images, prices, attributes) exists."

variantValues: VariantValues

Every Product Variant must have a distinct combination of SKU, prices, and custom Attribute values.

Generated using TypeDoc