Returned when a Product Discount could not be found that could be applied to the Price of a Product Variant.

The error is returned as a failed response to the [Get Matching ProductDiscount](/../api/projects/productDiscounts#get-matching-productdiscount) request.
interface NoMatchingProductDiscountFoundError {
    code: "NoMatchingProductDiscountFound";
    message: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

code: "NoMatchingProductDiscountFound"
message: string

"Couldn't find a matching product discount for: productId=$productId, variantId=$variantId, price=$price."

Generated using TypeDoc