API Version 2
API Documentation

skus/info

Type Info
List SKUs
URL http://{domain}/api/v2/SKUs/info.json
Accepts Filters No
Output Attributes
Yes


SKUs Info Data

Gets SKUS INFO. Using this API one can retrieve detailed information about a particluar SKU by simply providing the sku ID. The specific data points include ID, sku, status and tiered pricing, and attribute data blocks. The ID is the primary key identifier for skus in Lead Commerce. The sku is the visual identifier whose value is determined if overlay sku is enabled or not. This is a great api if you are trying to get information about a SKU and do not need information about the sku such as cost histories or inventory levels.
Filters
Filter the SKUs into a list to get their info.
Parameter Type Rules Example
id int / array one id or multiple Lead Commerce SKUs IDs
1 or array(3,8,9,45)

Response

Example JSON returned
{
   "code": "200",
   "data": {
      "39": [
         {
            "id": "39",
            "sku": "462-0003",
            "price": "12.95",
            "cost": "5.25",
            "status": "1",
            "dimensions": {
               "width": "0.00",
               "length": "0.00",
               "height": "0.00",
               "weight": "2.67"
            },
            "tiered_pricing": [
               {
                  "customer_type": "1",
                  "price": "10.98",
                  "min": "6"
               },
               {
                  "customer_type": "2",
                  "price": "21.51",
                  "min": "1"
               },
               {
                  "customer_type": "3",
                  "price": "12.95",
                  "min": "3"
               }
            ],
            "history": {
               "created": "1437608043",
               "updated": "1438213479"
            },
            "attributes": ""
         }
      ],
      "40": [
         {
            "id": "40",
            "sku": "463",
            "price": "13.54",
            "cost": "0.00",
            "status": "1",
            "dimensions": {
               "width": "0.00",
               "length": "0.00",
               "height": "0.00",
               "weight": "1.00"
            },
            "tiered_pricing": null,
            "history": {
               "created": "1438184079",
               "updated": "1438184079"
            },
            "attributes": ""
         }
      ]
   }
}

Start your free, no-risk trial today.