API referenceMeter
Create Meter
Create a meter and optionally assign it to a stock item. App connections need the booking:write or inventory:write scope.
POST
/metercurl -X POST "https://dash.lockii.app/api/v1/meter" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "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
externalIDstring | nullnamestringrequiredreadingsmap of __schema0Meter or stock reading keys and values to merge
sourceenum<string>One of:apilockii_locklockii_gpsmanualstockIDstring | null
Response
application/json
JSON result for this operation.
object
{}