Get Product Issue

Hello Team,
i faced an issue while trying to get product with SKU (RRS-Grapefruit) from warehouse (Primary) for specific customer (Dusa). the product is not in the response products list
with this request:
query {warehouse_products(warehouse_id: “V2FyZWhvdXNlOjg2OTc5”,customer_account_id:“QWNjb3VudDo3NzMwOA==”) { request_id
complexity
data {
edges {
node {
id
product {
id
name
sku
barcode
}
backorder
available
price
}
cursor
}
}
}
}

Hi @ahmadMamdouh

The query returns 100 results if you don’t paginate.

We made an update in our Public API 5 days ago regarding this:
Public API is officially enforcing a cap on all connection fields of 100 items:

  • If no first/last is defined, we apply a default of 100.
  • If users define first/last, we ensure they don’t go over 100 (this is the latest fix)

What’s next?

  • Cap all date range queries to a default of 30 days when no value is defined and to a max of a year what date ranges are defined. This is already implemented for shipments and partially for orders.

Have a nice day!

Thanks a lot Luisperrone.
need to know how to be always aware of any change in Public API?

Hi @ahmadMamdouh

You can subscribe here Newsletter – Developer Resources | ShipHero

However, this change was very sudden even for us!

Have a nice day!