API referenceStock
List Stock Parts
List parts on a stock item with status, categories, due label, remaining life, open issues, and nextDue remaining you can pass to set_part_next_due. stockID is the row id from list_stock or search_stock (stock_… or a UUID), never a display label like stock1.
GET
/stock/{stockID}/partscurl -X GET "https://dash.lockii.app/api/v1/stock/{stockID}/parts" \
-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
stockIDstringpathrequired
Response
application/json
JSON result for this operation.
object
{}