Is there some way to access a feature flag that indicates if a Shop supports functions or not? I have checked the following in GQL:
-
shop.features
-
shop.supportsCheckoutApi
-
createAppDiscountCode (different error or something)
This would be very helpful to make sure when functions arrive we can roll them out only to the correct stores (just dev preview stores atm).
More generally it would be helpful to surface if a store is dev-preview on shop or something.