✉ MailCraft API Reference

Contact properties

Update contact property

Verified
PATCH/api/v1/org/contact-properties/{id}

Only fallbackValue can change. Omitting it (or null) clears the fallback. key/type are silently ignored.

Path Parameters

Body Parameters

Notes

Live 2026-11-02. Body { fallbackValue } - a STRING (a JSON number -> ProblemDetails 400). Returns the property (200). key and type in the body are SILENTLY IGNORED (200, key/type unchanged, no error). An omitted / null fallbackValue ({} or {"fallbackValue":null}) CLEARS the stored fallback (sets null) - it is not a no-op. "" is stored as an empty string. For number properties the value must parse as a number ("7.5" ok, "abc" / "" -> 400 ValidationFailed). Changing a fallback does NOT alter existing contacts, only new ones. PUT -> 405. Unknown id -> 404 NotFound. No updatedAt on the property.

Errors

StatusCaseBody
400error{"error": {"code": "ValidationFailed", "message": "FallbackValue must be a valid Number value."}}
400errorNumericJson{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"request": ["The request field is required."], "$.fallbackValue": ["The JSON value could not be converted to MailchimpC
404errorNotFound{"error": {"code": "NotFound", "message": "Contact Property not found."}}

Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.