How we can query product inbound?

When we are trying to query products with this query:

query {
        products {
          complexity
          data(first:10) {
            pageInfo{
              hasNextPage
              hasPreviousPage
              startCursor
              endCursor
            }
            edges {
              node{
                id
                legacy_id
                account_id
                name
                sku
                warehouse_products{
                  id
                  legacy_id
                  on_hand
                  available
                  allocated
                  backorder
                  inbounds{
                     edges{
                       node{
                         po_id
                         quantity
                         po_date
                       }
                     }
                   }
                }
                images{
                  src
                }
              }
              cursor
            }
          }
        }
      }

we are receiving this error:

{
  "errors": [
    {
      "code": 30,
      "message": "There are not enough credits to perfom the requested operation, which requires 1301 credits, but the are only 1001 left. In 20 seconds you will have enough credits to perform the operation",
      "operation": "products",
      "request_id": "5ef4cef65cd03a6ebcb68743",
      "required_credits": 1301,
      "remaining_credits": 1001,
      "time_remaining": "20 seconds"
    }
  ],
  "data": {
    "products": null
  }
}

We receive this error only if we try to get “warehouse_products -> inbounds” How we can query product inbound?

Hi @varun !
For that you will need to add a first:50 for example on inbound connection:

inbounds(first:50)

So that it doesn’t default to 100 and exceeding the limit of credits available.
Let me know if that doesn’t work for you.
Thanks in advance!!
Tom