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](ctp:api:endpoint:/{projectKey}/product-discounts/matching:POST) 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."