Returned when a Price key conflicts with an existing key.

Keys of Embedded Prices must be unique per ProductVariant.
interface DuplicatePriceKeyError {
    code: "DuplicatePriceKey";
    conflictingPrice: Price;
    message: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "DuplicatePriceKey"
conflictingPrice: Price

Conflicting Embedded Price.

message: string

"Duplicate price key: $priceKey. The price key must be unique per variant."

Generated using TypeDoc