true in the lock path segment to lock the record; any other value unlocks it.200 with a { status, msg } object — inspect status to tell success from the two failure cases (the app is not installed/active for the site, or the record was not found).{ "status": true, "msg": "Record locked successfully" }{ "status": true, "msg": "Record unlocked successfully" }{ "status": false, "msg": "App is not installed or inactive" }{ "status": false, "msg": "Record not found" }curl --location --globoff 'https://.daftara.com/v2/api/apps-manager/123/product/456/true' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"status": true,
"msg": "Record locked successfully"
}