Hi! Could you please assist? Is there a way to get access to the Fetch target in functions for our app to add a layer of security for managing discount codes? The goal is to disable the used discount code faster. These discounts are used in B2B
We found out that using only metafields will not fully cover some cases of discount usage, and customers may apply a discount twice. For example, open 2 tabs and place two orders with the same discount function. There may be a little gap in order webhook processing for us to change the discount status and disable it.
Or is there any faster way to disable discounts?

