Update Member Record Reason
This endpoint allows you to update a disciplinary record's reason
Update Member Record Reason
POST https://api.sonorancms.com/disciplinary/update_member_record_reason 
Update a Sonoran CMS community member disciplinary record's reason.
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
UPDATE_MEMBER_RECORD_REASON
data*
object
Object
{
      "id": "123",
      "status": true,
      "accId": "123",
      "source": "api",
      "sourceId": "api-request",
      "points": 10,
      "reason": "Some different reason",
      "metadata": {},
      "history": [],
}INVALID API KEY
INVALID COMMUNITY ID
MEMBER NOT FOUND{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "UPDATE_MEMBER_RECORD_POINTS",
    "data": {
        "recordId": "123",
        "reason": "Some different reason", // Reason for the disciplinary record
    }
}Last updated
Was this helpful?

