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?