Checking post purchase app in use - field doesn't exist error

Hi there,

I am trying to check if my Post purchase app extension is in use by using the followign Graphql query -

app_in_use_query = client.parse <<-'GRAPHQL'
      {
        app  {
            isPostPurchaseAppInUse
        }
      }
    GRAPHQL

However in response I get the error message - Field ‘isPostPurchaseAppInUse’ doesn’t exist on type ‘App’.

This query is documented in the Shopify docs here - https://shopify.dev/apps/checkout/post-purchase/ux-guidelines-post-purchase-offers#post-purchase-app-selector

Does anyone know how to correctly run this query or have I found a bug in the Shopify API?

Appreciate it.

Cheers

Liam

I am getting this message as well and am using 2010 API version. It works in Graphiql when testing in Shopify.