Records
Patch a CRM Record
Update a CRM record by ID via the Zeeg CRM API by sending only the attributes to change; every other field on the record stays untouched.
PATCH
Patch a CRM record
Partially updates a CRM record. Only the attributes you include in the request body are changed — all other attributes remain exactly as they are.
This updates
Use PATCH when you have the record ID and only want to update certain fields. Use Assert when syncing from an external source or when you don’t have the ID yet.
Response returns the full updated record with all attributes, including the unchanged ones.
Path parameters
| Parameter | Type | Description |
|---|---|---|
objectSlug | string | The slug of the custom CRM object the record belongs to. |
recordId | string (UUID) | The UUID of the record to update. |
Request body
A flat JSON object containing only the attribute slug → value pairs you want to change. Attributes not present in the body are untouched.price and in_stock only. Every other attribute on the record keeps its current value.
PATCH vs. Assert
PATCH /{objectSlug}/{recordId} | PUT /{objectSlug}?matchingAttribute=... | |
|---|---|---|
| Lookup | By record id | By attribute value |
| Scope | Only provided attributes change | Full body applied (omitted attrs → null on create) |
| Use case | Edit a known record’s specific fields | Sync/upsert from an external system |
Attribute types
The same type rules apply as when creating a record:| Type | Expected value | Example |
|---|---|---|
text | String, max 255 characters | "Updated name" |
number | Integer | 49 |
checkbox | Boolean | false |
date | ISO 8601 date string | "2025-12-31" |
select | Object with an id key | { "id": "opt_abc123" } |
multiselect | Array of option objects | [{ "id": "opt_abc" }] |
relation | Array of related record UUIDs | ["uuid-1", "uuid-2"] |
user | Array of organization member UUIDs | ["member-uuid-1"] |
For
relation and user attributes, PATCH replaces the entire array. To add or remove individual IDs without overwriting the full list, use Update Relation instead.Clearing a value
To explicitly clear an attribute, passnull:
Example: update price and stock status
When to use this endpoint
- Edit forms — a user edits one or a few fields and saves.
- Status updates — flip a single boolean or enum field without touching anything else.
- Partial enrichment — backfill a specific attribute after you’ve gathered more data.
Authorizations
Path Parameters
Slug of the custom CRM object.
UUID of the record to update.
Body
application/json
Flat object of attribute slug → value pairs to update.
Last modified on June 11, 2026