API referenceStock
Get Stock
Get a stock item by row id from resolve_stock, list_stock, or search_stock (stock_… or a UUID), including product, location, a maintenance summary, and instant-book / QR paths. Never pass a display label such as stock1 or BK-1. For a QR or book-now link, call this then open_page with stockPagePath and give the merchant instantBookPath.
GET
/stock/{id}curl -X GET "https://dash.lockii.app/api/v1/stock/{id}" \
-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
idstringpathrequiredwithCurrentReservationOnlybooleanqueryDefault:false
Response
application/json
JSON result for this operation.
object
{}