Field 'orders' doesn't exist on type 'QueryRoot' in Shopify using GraphQL

I cannot query orders in Shopify with GraphQL for ambiguous reason, I am using Shopify API version 2022-10, This is my query:

query {
  orders(first: 10) {
    edges {
      node {
        id
      }
    }
  }
}

This is what I get

{
  "errors": [
    {
      "message": "Field 'orders' doesn't exist on type 'QueryRoot'",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "query",
        "orders"
      ],
      "extensions": {
        "code": "undefinedField",
        "typeName": "QueryRoot",
        "fieldName": "orders"
      }
    }
  ]
}

I made sure to check the App development permissions, read and write orders were assigned.
How to solve this?