API referenceStock
Delete Stock
Archive a stock row by row id from resolve_stock, list_stock, or search_stock (stock_⌠or a UUID). Never pass a display label such as stock1 or BK-1. If they gave a label, call resolve_stock first; if two rows share a label, ask which one. App connections need the inventory:write scope.
DEL
/stock/{id}curl -X DELETE "https://dash.lockii.app/api/v1/stock/{id}" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"force": true
}'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 resolve_stock, list_stock, or search_stock (stock_⌠or a UUID like 019fâŚ). Not the display label (stock1, BK-1).
Body
application/json
forceboolean
Response
application/json
JSON result for this operation.
object
{}