API referenceIssue Report
Report Issue
File a staff issue against a stock item, optionally linked to a part. App connections need the booking:write or inventory:write scope.
POST
/issue-reportcurl -X POST "https://dash.lockii.app/api/v1/issue-report" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "string",
"stockID": "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.
Body
application/json
descriptionstringrequiredWhat is wrong
maintainedElementIDstringPart ID, or omit for an item-level issue
orderIDstring | nullRelated booking ID
photoImageIDsstring[]statusenum<string>Issue, soft down, or hard down
One of:unknownsoft_downhard_downDefault:unknownstockIDstringrequiredStock item ID
titlestringDefaults from the part and description
Response
application/json
JSON result for this operation.
object
{}