How can I create woocommerce coupon with an expiration date using the rest api?
I'm trying to create a coupon via the woocommerce rest api: https://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-coupon I can create coupons fine, but it seems the expiration date is always unset. e.g. posting { "code": "IGNME", "description": "IGNORE ME", "discount_type": "percent", "amount": 5, "date_expires": "2024-03-21T19:23:00",…