API Version 2
  • API V2 Overview
  • Category
    • Company
      • Customers
        • Orders
          • Pages
            • Page Templates
              • Products
                • Purchase Orders
                  • SKUs
                    • Support Tickets
                      • Tax Regions
                        • Vendors
                          • Warehouses
                            API Documentation

                            vendors/info_warehouse

                            Type Info
                            List Vendors
                            URL http://{domain}/api/v2/vendors/info_warehouse.json
                            Accepts Filters No
                            Output Attributes
                            No


                            Vendors Warehouse Info Data

                            Gets Vendor Warehouse INFO. Using this API one can retrieve detailed information on the Vendors Warehouse data which have been input into Lead Commerce based on Lead Commerce Vendors IDs. The specific data points include ID, Display ID, name and warehouse data block. The ID is the primary key identifier for Vendors in Lead Commerce, the name is the Vendor name and the warehouse block is the Vendor warehouse ID and name.
                            Filters
                            Filter the Vendor Warehouse Info into a list.
                            Parameter Type Rules Example
                            id int / array one id or multiple Lead Commerce vendor ids
                            1 or array(3,8,9,45)

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "1": [
                                  {
                                    "id": "1",
                                    "display_id": "1",
                                    "name": "My Vendor",
                                    "warehouse": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa"
                                      }
                                    ]
                                  }
                                ],
                                "2": [
                                  {
                                    "id": "2",
                                    "display_id": "2",
                                    "name": "Lead Commerce",
                                    "warehouse": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa"
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.