@gradientedge/commercetools-utils
    Preparing search index...

    Interface NoMatchingProductDiscountFoundError

    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;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    Properties

    code: "NoMatchingProductDiscountFound"

    Error identifier.

    message: string

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