Scheduling Discount Functions end user friendly

Hi –

I have multiple Shopify functions published on our company stores as private apps. All good. However I have to use Graphql to re-instantiate the function discounts which is not cool as end users cannot do it on their own. We want specific ending dates and times and there seems to be no way for Shopify Function created Discounts to be scheduled with custom start/stop times.

Is there any way to do this outside of something like:

  1. Create a private proxied embedded app within the store.
  2. Use Graphql to get all the discount functions, save to DB.
  3. Use a web interface to allow users to choose custom start/stop times and translate that into Graphql query that makes discount function scheduled?

This would seem a common use case: allow end users to schedule a discount function start and stop. Yet all the docs point to just using Graphql unless I am missing something.

Thanks.