Partially updates a CRM record. Only attributes included in the request body are changed — omitted attributes keep their current values.
Required scope: crm:write
curl --request PATCH \
--url https://api.zeeg.me/v2/crm/{objectSlug}/{recordId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"price": 35,
"inventory_count": 80
}
'{
"success": true,
"status": 200,
"record": {
"id": "c1d2e3f4-a5b6-7890-cdef-123456789012",
"objectSlug": "products",
"attributes": {
"sku": "DRESS-001",
"price": 29,
"inventory_count": 150
},
"createdAt": "2025-06-01T10:00:00+00:00",
"updatedAt": "2025-06-01T12:00:00+00:00"
}
}Partially updates a CRM record. Only the attributes you include in the request body are changed — all other attributes remain exactly as they are.Documentation Index
Fetch the complete documentation index at: https://developer.zeeg.me/llms.txt
Use this file to discover all available pages before exploring further.
| 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. |
{
"price": 49,
"in_stock": false
}
price and in_stock only. Every other attribute on the record keeps its current value.
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 |
| 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"] |
relation and user attributes, PATCH replaces the entire array. To add or remove individual IDs without overwriting the full list, use Update Relation instead.null:
{
"launched_at": null
}
PATCH /v2/crm/products/c1d2e3f4-a5b6-7890-cdef-123456789012
{
"price": 49,
"inventory_count": 0,
"in_stock": false
}
Slug of the custom CRM object.
UUID of the record to update.
Flat object of attribute slug → value pairs to update.
OK
true
200
A record for a custom CRM object.
Hide child attributes
Unique identifier for the record.
"c1d2e3f4-a5b6-7890-cdef-123456789012"
Slug of the CRM object this record belongs to.
"products"
Key/value pairs for the custom attributes defined on the object. Keys are attribute slugs.
{
"sku": "DRESS-001",
"price": 29,
"inventory_count": 150
}ISO 8601 timestamp when the record was created.
"2025-06-01T10:00:00+00:00"
ISO 8601 timestamp when the record was last updated.
"2025-06-01T12:00:00+00:00"
curl --request PATCH \
--url https://api.zeeg.me/v2/crm/{objectSlug}/{recordId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"price": 35,
"inventory_count": 80
}
'{
"success": true,
"status": 200,
"record": {
"id": "c1d2e3f4-a5b6-7890-cdef-123456789012",
"objectSlug": "products",
"attributes": {
"sku": "DRESS-001",
"price": 29,
"inventory_count": 150
},
"createdAt": "2025-06-01T10:00:00+00:00",
"updatedAt": "2025-06-01T12:00:00+00:00"
}
}