This endpoint can be used to simulate which Product Discounts would be applied if a specified Product Variant had a specified Price.
Given Product and Product Variant IDs and a Price, this endpoint will return the ProductDiscount that would have been applied to that Price.
IfaProductDiscountcouldnotbefoundthatcouldbeappliedtothePriceofaProductVariant, a [NoMatchingProductDiscountFound](ctp:api:type:NoMatchingProductDiscountFoundError) errorisreturned.
This endpoint can be used to simulate which Product Discounts would be applied if a specified Product Variant had a specified Price. Given Product and Product Variant IDs and a Price, this endpoint will return the ProductDiscount that would have been applied to that Price.