Sign in

API reference / ZiloInventory

ZiloInventory

Warehouses and stock on hand.

Base URL https://api.zilomail.in

Warehouses#

GET/v1/inventory/warehouses
inventory.read

The warehouses the person works in.

Answer · 200 OK

dataarray of object
idstring
codestring | null
namestring
branchIdstring | null
curl "https://api.zilomail.in/v1/inventory/warehouses" \
  -H "Authorization: Bearer $ZILO_TOKEN"
Answer · 200 OK
{
  "data": [
    {
      "id": "string",
      "code": "string",
      "name": "string",
      "branchId": "string"
    }
  ]
}
Try it

Sign in to call it as yourself.

Stock on hand#

GET/v1/inventory/stock
inventory.read

Quantities in base units, per product and warehouse (only the person's warehouses). Give product (one or more ids) for just those.

Query

productstring | array of string
warehousestring

Answer · 200 OK

dataarray of object
productIdstring
codestring
namestring
unitstring
warehouseIdstring
warehousestring
quantitynumber
curl "https://api.zilomail.in/v1/inventory/stock" \
  -H "Authorization: Bearer $ZILO_TOKEN"
Answer · 200 OK
{
  "data": [
    {
      "productId": "string",
      "code": "string",
      "name": "string",
      "unit": "string",
      "warehouseId": "string",
      "warehouse": "string",
      "quantity": 0
    }
  ]
}
Try it

Sign in to call it as yourself.

ZiloInventory API · ZiloOne Developers