API referenceStock
Resolve Stock
Resolve a stock display label (stock1, BK-1) to row ids before get_stock, update_stock, delete_stock, or list_stock_parts. Returns 0, 1, or many matches with location and product. If they already have a row id, you may pass it here to confirm it.
GET
/stock/resolvecurl -X GET "https://dash.lockii.app/api/v1/stock/resolve?label=" \
-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
labelstringqueryrequiredDisplay label such as stock1 or BK-1, or a stock row id
Response
application/json
JSON result for this operation.
object
{}