Zoho Inventory: Get Items with sotck on hand in different warehouses in a single shot

Zoho Inventory: Get Items with sotck on hand in different warehouses in a single shot

Hello,

Is there a way to get all the items with their stock properties per warehouse in a single API call?
I'm trying to use this: https://inventory.zoho.com/api/v1/items?organization_id=organizationId
it's returning:
"item_id""2767260000000074112",
            "name""My test item",
            "item_name""My test item",
            "unit""cm",
                ...  
            "available_stock"150.000000,
            "actual_available_stock"152.000000,
            
The problem is the available stock is not actual it's the sum of all items stock from different warehouses.

however if we call this one:
then all the details are returned:
"warehouses": [
            {
                "warehouse_id""2767260000000075116",
                "warehouse_name""Warehouse Beirut",
                "status""active",
                "is_primary"true,
                "warehouse_stock_on_hand"74.000000,
                "initial_stock"34.00,
                "initial_stock_rate"23.00,
                "warehouse_available_stock"74.000000,
                "warehouse_actual_available_stock"74.000000,
                "warehouse_committed_stock"0.000000,
                "warehouse_actual_committed_stock"0.000000,
                "warehouse_available_for_sale_stock"74.000000,
                "warehouse_actual_available_for_sale_stock"74.000000,
                "is_fba_warehouse"false,
                "sales_channels": []
            },
            {
                "warehouse_id""2767260000000075136",
                "warehouse_name""Warehouse Wellington",
                "status""active",
                "is_primary"false,
                "warehouse_stock_on_hand"80.000000,
                "initial_stock"0.00,
                "initial_stock_rate"0.00,
                "warehouse_available_stock"80.000000,
                "warehouse_actual_available_stock"80.000000,
                "warehouse_committed_stock"0.000000,
                "warehouse_actual_committed_stock"0.000000,
                "warehouse_available_for_sale_stock"80.000000,
                "warehouse_actual_available_for_sale_stock"80.000000,
                "is_fba_warehouse"false,
                "sales_channels": []
            }


Is there a way to get the warehouse stock in one call to get it with the list of all items?

Thanks,.


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now