I am using Magento CE 2.4 and I am using admin API to create a coupon and cart price rule
I want the coupon duration to become 10 min and then it is expired
so I found that in the cart price rule they use 'from_date' and 'to_date' without time and also it declares in the database as a date type, not DateTime
and also in Magento\SalesRule\Model they say " @deprecated 101.1.3 Coupon expiration must follow sales rule expiration date." for expiration_date of the coupon
so how I can put the period of the coupon or cart price rule 10 min ??