API referenceStock
Search Stock
Search stock by display label (stock1, BK-1). Prefer resolve_stock when they gave a label and you need a row id for get/update/delete. Returns rows with the row id. If two rows share a label, ask which one.
GET
/stock/searchcurl -X GET "https://dash.lockii.app/api/v1/stock/search?query=" \
-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
querystringqueryrequired
Response
application/json
JSON result for this operation.
object
{}