shop.getDiscounts()
Returns currently active discounts — both shop-wide and product-specific. Use these to display sale badges, banners, and strikethrough prices.
Response
Discount type
start_date <= now <= end_date are returned.