Get Discounted Price
getDiscountedPriceCalculates the final price of a product after applying a specific discount percentage. Input product ID and discount percent to get the discounted price.
Instructions
Calculates a product's price after applying a discount percentage (0-100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| discountPercent | Yes |