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

                            orders/info_product

                            Type Info
                            List Orders
                            URL http://{domain}/api/v2/orders/info_product.json
                            Accepts Filters No
                            Output Attributes
                            No


                            Orders Info Product Data

                            Gets Order Product info.
                            Filters
                            Filter the Orders Products into a list.
                            Parameter Type Rules Example
                            id int / array one id or multiple Lead Commerce order ids
                            1 or array(3,8,9,45)
                            Status of Orders

                            See Record Status section Order Status for status outputs.


                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "5": [
                                  {
                                    "id": "1",
                                    "sku": "20000-0001ABX",
                                    "qty": "5",
                                    "committed": "5",
                                    "price": "22.99",
                                    "subtotal": "114.95",
                                    "tax": "0.00",
                                    "total": "114.95",
                                    "overlay_sku": "",
                                    "overlay_product": "",
                                    "overlay_variation": "",
                                    "overlay_qty": "",
                                    "overlay_status": "",
                                    "status": "9",
                                    "product": [
                                      {
                                        "id": "1",
                                        "display_id": "20000",
                                        "name": "Modern-Fit Vest"
                                      }
                                    ],
                                    "ship_to": [
                                      {
                                        "id": "3",
                                        "name": "Bob Smith",
                                        "business_name": "Bob's Bicycle Shop",
                                        "address_1": "101 Main St",
                                        "address_2": "Apt 232",
                                        "city": "Los Angeles",
                                        "postal_code": "90012",
                                        "phone": "619-322-2322",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "ship_from": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa Warehouse",
                                        "address_1": "101 Main St",
                                        "address_2": "Ste 33",
                                        "city": "Los Angeles",
                                        "postal_code": "92119",
                                        "phone": "2069238660",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ]
                                  },
                                  {
                                    "id": "2",
                                    "sku": "20000-0002",
                                    "qty": "5",
                                    "committed": "5",
                                    "price": "22.99",
                                    "subtotal": "114.95",
                                    "tax": "0.00",
                                    "total": "114.95",
                                    "overlay_sku": "",
                                    "overlay_product": "",
                                    "overlay_variation": "",
                                    "overlay_qty": "",
                                    "overlay_status": "",
                                    "status": "9",
                                    "product": [
                                      {
                                        "id": "1",
                                        "display_id": "20000",
                                        "name": "Modern-Fit Vest"
                                      }
                                    ],
                                    "ship_to": [
                                      {
                                        "id": "3",
                                        "name": "Bob Smith",
                                        "business_name": "Bob's Bicycle Shop",
                                        "address_1": "101 Main St",
                                        "address_2": "Apt 232",
                                        "city": "Los Angeles",
                                        "postal_code": "90012",
                                        "phone": "619-322-2322",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "ship_from": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa Warehouse",
                                        "address_1": "101 Main St",
                                        "address_2": "Ste 33",
                                        "city": "Los Angeles",
                                        "postal_code": "92119",
                                        "phone": "2069238660",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ]
                                  }
                                ],
                                "6": [
                                  {
                                    "id": "1",
                                    "sku": "20000-0001ABX",
                                    "qty": "5",
                                    "committed": "5",
                                    "price": "22.99",
                                    "subtotal": "114.95",
                                    "tax": "8.62",
                                    "total": "123.57",
                                    "overlay_sku": "",
                                    "overlay_product": "",
                                    "overlay_variation": "",
                                    "overlay_qty": "",
                                    "overlay_status": "",
                                    "status": "9",
                                    "product": [
                                      {
                                        "id": "1",
                                        "display_id": "20000",
                                        "name": "Modern-Fit Vest"
                                      }
                                    ],
                                    "ship_to": [
                                      {
                                        "id": "2",
                                        "name": "Jane Doe",
                                        "business_name": "Jane's Flower Shop",
                                        "address_1": "111 Main St",
                                        "address_2": "Apt 2342",
                                        "city": "San Diego",
                                        "postal_code": "92110",
                                        "phone": "619-111-2222",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "ship_from": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa Warehouse",
                                        "address_1": "101 Main St",
                                        "address_2": "Ste 33",
                                        "city": "Los Angeles",
                                        "postal_code": "92119",
                                        "phone": "2069238660",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ]
                                  },
                                  {
                                    "id": "2",
                                    "sku": "20000-0005",
                                    "qty": "5",
                                    "committed": "5",
                                    "price": "22.99",
                                    "subtotal": "114.95",
                                    "tax": "8.62",
                                    "total": "123.57",
                                    "overlay_sku": "",
                                    "overlay_product": "",
                                    "overlay_variation": "",
                                    "overlay_qty": "",
                                    "overlay_status": "",
                                    "status": "9",
                                    "product": [
                                      {
                                        "id": "1",
                                        "display_id": "20000",
                                        "name": "Modern-Fit Vest"
                                      }
                                    ],
                                    "ship_to": [
                                      {
                                        "id": "2",
                                        "name": "Jane Doe",
                                        "business_name": "Jane's Flower Shop",
                                        "address_1": "111 Main St",
                                        "address_2": "Apt 2342",
                                        "city": "San Diego",
                                        "postal_code": "92110",
                                        "phone": "619-111-2222",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "ship_from": [
                                      {
                                        "id": "1",
                                        "name": "La Mesa Warehouse",
                                        "address_1": "101 Main St",
                                        "address_2": "Ste 33",
                                        "city": "Los Angeles",
                                        "postal_code": "92119",
                                        "phone": "2069238660",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.