Get/v1/products/inventory

Get Inventory Levels

Use this endpoint when you need to poll our system for inventory levels based on SKU. You can poll for up to 250 SKUs in each api call.

Properties

  • Name
    Type
    string
    Description
    A comma seperated list of MPODx SKU/s (required).

Making a Request

GET
/v1/products/inventory
curl -G https://api.mpodx.com/v1/products/inventory?sku=3001CBS,3001CBM,3001CBL,3001CBXL,3001CB2XL,3001CB3XL \
  -H "Authorization: Bearer {token}" 

Get Inventory Levels

Used when you need to retreive inventory levels by SKU

The data below shows the required fields for this API call.

Request URL

"https://api.mpodx.com/v1/products/inventory?sku={skus}"

Response

{
    "message": "Get inventory successfully",
    "status": "success",
    "data": {
        "results": [
            {
                "sku": "3001CBS",
                "available_qty": 82713
            },
            {
                "sku": "3001CBM",
                "available_qty": 146274
            },
            {
                "sku": "3001CBXL",
                "available_qty": 151934
            },
            {
                "sku": "3001CB2XL",
                "available_qty": 172896
            },
            {
                "sku": "3601NS",
                "available_qty": 40086
            },
            {
                "sku": "3001CB3XL",
                "available_qty": 22438
            }
        ]
    }
}

Was this page helpful?