API referenceStock
Get Stock Status
Get a stock item's fleet status: overall down state and each part's status, due label, remaining life, and nextDue remaining you can write back. id is the row id from list_stock/search_stock (stock_… or UUID), not a display label.
GET
/stock/{id}/statuscurl -X GET "https://dash.lockii.app/api/v1/stock/{id}/status" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredStock row id from list_stock or search_stock (stock_… or a UUID). Not the display label.
Response
application/json
JSON result for this operation.
object
{}