iotoms Docs

Get inventory valuation

GET
/api/v1/reports/inventory/valuation

Returns quantity on hand, unit cost and total value per item (quantity × unit cost, average-cost method), sorted by highest value first. Items without a unit cost have no total value.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Header Parameters

X-TenantID*string

Your merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request worked, ERROR when it did not.

message*string

Short human-readable message describing the result, for logs or display; do not parse it.

data?array<>|

One row per inventory item (including items with zero stock), highest total value first.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/inventory/valuation' \  -H 'X-TenantID: your-tenant-code'
Example Response
{  "status": "string",  "message": "string",  "data": [    {      "itemId": "string",      "itemName": "string",      "categoryName": "string",      "quantityOnHand": 0,      "unitCost": 0,      "totalValue": 0,      "valuationMethod": "string"    }  ]}