API referenceStock Part
Reset Check Period
Reset a part's usage clock without recording a full inspection. App connections need the inventory:write scope.
POST
/stock-part/{id}/reset-check-periodcurl -X POST "https://dash.lockii.app/api/v1/stock-part/{id}/reset-check-period" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"maintenanceID": "string",
"partName": "string"
}'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 part ID
Body
application/json
maintenanceIDstring | nullpartNamestring | null
Response
application/json
JSON result for this operation.
object
{}