Retrive stock details based on SKU

Hi Team,

I’m unable to find a GraphQL query for retrieving stock details based on SKU.

Could you please help me with this?

Hi @Roy!
Were you looking for something like this:

query{
  product(sku: "1122334463"){
    request_id
    complexity
    data {
      warehouse_products{
        on_hand
        available
        backorder
      }
    }
  }
} 

Let me know if you need more info than that.
Thanks in advance!
Tom

Thank you Tom! It works great!

Is it possible to retrieve all SKUs with stock details? Like a stock summary.

Hi @Roy!
I’m glad it helped!
For that purpose, you could generate an Inventory Snapshot
Let me know if that doesn’t help!
Thanks again!
Tom

Thank you Tom!

Regards
Roy

1 Like