How to query orderApp ID?

Hi

I try to get the order app Id using graphql orders.

on shopify.dev docs https://shopify.dev/docs/api/admin-graphql/2023-07/objects/OrderApp orderApp has 3 field: name, icon and id

Name and Icon works as expected but when I add id, I receive this error:

“Field ‘id’ doesn’t exist on type ‘OrderApp’”

This is the query I’m using:

{
  order(id: "gid://shopify/Order/<orderId>") {
      name,
      app {
          id,
          name,
          icon {
              url
          }
      }
  }
}

Hi @chefJuanPi ,

Thanks for your post. We get the same response when attempting the query you provided with any API version prior to 2022-10, so please make sure that the endpoint of your query specifies version 2022-10 or higher.

If you continue to have trouble with this query it’s recommended that you post on the Orders (‘Customers, Discounts, and Orders’) board which specializes in Order related questions.

Thanks and have a great day,
Jon551