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
| Parameter | Type | Description |
|---|---|---|
id | number | Record id |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
<field_key> | string | At least one | The 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
| Status | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | The body is empty, or names an unknown field (details.fields lists the valid keys) |
| 401 | UNAUTHORIZED | Missing, wrong or expired API credentials |
| 403 | FORBIDDEN | The key lacks records:edit permission |
| 404 | NOT_FOUND | No such record in your organization |
| 422 | FIELD_RETIRED | The 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.