Skip to main content

Inventory

List Inventory Items

get /api/v1/businesses/:urlKey/inventories

This endpoint allows you to retrieve a paginated list of inventory items.

Path Params

urlKey - The unique identifier of the business.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>

Query Params

Optional - Can be used for filtering and limiting results

NameTypeValue Description
itemTypestring (enum)product -> Filter to product items
service -> Filter to service items
namestringSearch by item name (wildcard match)
trackingMethodstring (enum)NONE -> Untracked items
BATCH -> Batch-tracked items
SERIAL -> Serial-tracked items
isStockManagedbooleanFilter by whether stock levels are tracked
stockStatusstring (enum)critical -> Critical stock
low -> Low stock
well -> Well stocked
overStock -> Overstocked
isPackagebooleanFilter package/bundle items
tagsarray[string]Filter by tag names
$limitnumberNumber of results to return (default 10, max 50)
$skipnumberNumber of results to skip (default 0, max 1000)
$sortobjectSort order, e.g. $sort[createdAt]=-1
$selectarray[string]Limit the fields returned per item

Get Inventory by SKU

get /api/v1/businesses/:urlKey/inventories/:sku

Path Params

urlKey - The unique identifier of the business.
sku - The SKU of the inventory item.


Create Inventory Item

post /api/v1/businesses/:urlKey/inventories

This endpoint allows you to create a new inventory item.

Path Params

urlKey - The unique identifier of the business.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>

Body

NameTypeValue Description
sku *stringUnique Stock Keeping Unit code for the item
itemType *string (enum)product -> Product
service -> Service
onetime -> One-time item
(must be lowercase)
name *stringItem name
descriptionstringItem description
hsnstringHSN/SAC code (max 8 characters, India only)
classificationCodestringClassification code, e.g. an ECCN code
trackingMethodstring (enum)NONE -> No batch/serial tracking (default)
BATCH -> Track stock by batch
SERIAL -> Track stock by serial number
currencystringISO 4217 Currency Code -> Default INR
tagsarray[string]Tag names — must already exist in Business Settings
taxRatenumberTax rate (%) applicable on this item
initialStocknumberInitial stock quantity
isStockManagedbooleanWhether stock levels are tracked for this item
overstockPointnumberStock level above which the item is considered overstocked
reorderPointnumberStock level below which the item is considered low/critical
sellingPricenumberSelling price
costPricenumberCost price
landedCostnumberLanded cost — must be less than or equal to costPrice
isPriceTaxInclusivebooleanWhether sellingPrice/costPrice are inclusive of tax
preferredVendorstringuniqueKey of the preferred vendor — must be an existing vendor
registeredVendorsarray[string]uniqueKeys of registered vendors — must be existing vendors
isPackagebooleanWhether this item is a package/bundle of other items
salesLedgerobjectSales ledger mapping
salesLedger.ledgerIdstringLedger ID
salesLedger.ledgerNamestringLedger name
purchaseLedgerobjectPurchase ledger mapping
purchaseLedger.ledgerIdstringLedger ID
purchaseLedger.ledgerNamestringLedger name
inventoryLedgerobjectInventory asset ledger mapping
inventoryLedger.ledgerIdstringLedger ID
inventoryLedger.ledgerNamestringLedger name
itcstringInput Tax Credit eligibility (India only), e.g. INELIGIBLE_OTHERS
unitstringUnit of measurement, e.g. PCS
warehouses[]array[object]Per-warehouse initial stock and thresholds — only applicable when Warehouse Management is enabled
warehouses[].warehouseId *stringWarehouse code
warehouses[].quantitynumberInitial stock for this warehouse
warehouses[].reorderPointnumberWarehouse-level reorder point
warehouses[].overstockPointnumberWarehouse-level overstock point
dimensionsobjectItem dimensions
dimensions.lengthnumberLength
dimensions.breadthnumberBreadth
dimensions.heightnumberHeight
dimensions.unitstringUnit, e.g. cm
weightobjectItem weight
weight.grossWeightnumberGross weight
weight.netWeightnumberNet weight
weight.unitstringUnit, e.g. kg
customFields[]array[object]Custom fields — label must be pre-configured in Business Settings
customFields[].labelstringCustom field label
customFields[].valuestringCustom field value

Update Inventory Item

patch /api/v1/businesses/:urlKey/inventories/:sku

This endpoint allows you to update an existing inventory item.

Path Params

urlKey - The unique identifier of the business.
sku - The SKU (Stock Keeping Unit) of the inventory item to update.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>

Body

Accepts any of the fields listed under Create Inventory Item above (including sku, to rename the item), except trackingMethod.

NOTES
  • trackingMethod cannot be updated via this API — passing it returns FIELD_NOT_UPDATABLE.
  • sku can be renamed — the item will be accessible only under the new SKU afterward.
  • Per-warehouse thresholds (warehousesStockThresholds) cannot be changed via PATCH; they can only be set at creation time via warehouses[]. Root-level overstockPoint and reorderPoint can still be updated independently.

Delete Inventory Item

delete /api/v1/businesses/:urlKey/inventories/:sku

This endpoint soft-deletes (archives) an inventory item. After deletion, the item is no longer returned by List or Get by SKU.

Path Params

urlKey - The unique identifier of the business.
sku - The SKU (Stock Keeping Unit) of the inventory item to delete.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>