Set Record Values

PUT /api/v1/records/:id/values

Sets the values you send and leaves the rest alone. Each changed field gets a history entry with cause api and actor api_key:<id>; a value equal to the current one is skipped. If any key is unknown or retired, nothing is changed.

CLI: fob-mdm records edit

Path Parameters

ParameterTypeDescription
idnumberRecord id

Request Body

FieldTypeRequiredDescription
<field_key>stringAt least oneThe new golden value for that field

Example Request

curl -X PUT "https://mdm.finopsbricks.com/api/v1/records/100/values" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "bank_ifsc": "HDFC0005678"
  }'

Response

200 OK

{
  "data": {
    "id": 100,
    "object": 1,
    "values": {
      "name": "Acme Supplies Private Limited",
      "gstin": "29ABCDE1234F1Z5",
      "bank_ifsc": "HDFC0005678"
    },
    "created_at": "2026-11-26T07:20:08.000Z",
    "updated_at": "2026-11-26T07:20:08.000Z",
    "changes": [
      {
        "field": "bank_ifsc",
        "old": "HDFC0001234",
        "new": "HDFC0005678"
      }
    ]
  }
}

changes lists what actually changed, so an empty list means every value was already set.

Errors

StatusCodeWhen
400VALIDATION_ERRORThe body is empty, or names an unknown field (details.fields lists the valid keys)
401UNAUTHORIZEDMissing, wrong or expired API credentials
403FORBIDDENThe key lacks records:edit permission
404NOT_FOUNDNo such record in your organization
422FIELD_RETIREDThe body includes a retired field

See Errors for the envelope.

Using an AI agent? Give it the raw Markdown of this page, or the docs index.