Any way for an admin app to know the result of a Checkout Validation Function?

Hey all,

I have an Admin app that bundles a Cart & Checkout Validation Function to block checkout under certain rules. That works fine, but once it blocks, it appears there is no way for my Admin app to know about that decision.

Is there any way for the app to know a block happened, so I can show the merchant something in the admin (like “we stopped a checkout”)?

I know Function logs in the Partner/Dev dashboard are for developers. I’m looking for something the app can use.

Thanks.

It looks like you are looking for a Shopify GraphQL Admin API that can retrieve Shopify function run logs and show them as a status in the app. Unfortunately, there is no API available for this.