iotoms Docs

List items to reorder

GET
/api/v1/reports/inventory/reorder

Returns items whose quantity on hand is at or below their minimum stock level, with the shortage and a suggested order quantity (twice the minimum level), largest shortage first.

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<>|

Items at or below their minimum stock level, largest shortage first.

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