Updating a record with PATCH /records/{recordId}

Intermediate

Send a PATCH request to update specific fields on an existing FileMaker record. Learn the role of modId in preventing conflicting writes.

What you'll learn

  • How to send a PATCH request with a fieldData payload
  • What modId is and when to include it
  • How to obtain a recordId before updating

A PATCH request to /records/{recordId} updates only the fields you specify, leaving all other fields untouched — just like entering a record and editing individual fields.

1/3
1

Send the PATCH request

Include only the fields you want to change inside the fieldData object. The recordId goes in the URL, not the body.

HTTP
PATCH /fmi/data/v1/databases/{db}/layouts/Customers/records/12
Authorization: Bearer {token}
Content-Type: application/json

{
  "fieldData": {
    "Status": "Inactive",
    "Notes": "Closed account per customer request"
  }
}

Sign in to track your progress and pick up where you left off.

Sign in to FM Dojo