Promo-code API not recording the latest discount percent
Problem: User Updated the discount percent in the product catalog and tried to create a Promo code using the POST API call, the response call did not fetch the latest value and old discount percent was present in the response body. But when we check the UI it is updated with the latest value
Also when we use GET call to check the newly created Promo code it was returning the latest discount value
When a Product catalog is updated we must do a manual refresh in the Promo-code application as shown in the below screenshot.
After any update in the Product catalog, the refresh must be done to avoid the cached catalog. It will fetch the correct values in Promo code API after the Refresh catalog.