30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Pro Update Custom Field

mailerpress-pro/update-custom-field updates an existing contact custom-field definition.

It is identified by field_key; MailerPress also accepts an id in the body for extra safety.

At a glance

Abilitymailerpress-pro/update-custom-field
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › Contact Custom Fields
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

Addressing by key rather than by ID is the right default here, because the key is what everything else in the system uses — a segment condition, a personalisation token, a contact write.

Passing the ID as well is belt and braces: it catches the case where the key you have is stale.

What is safe to change is presentation. The label appears in the admin and in forms, and changing it affects nothing stored.

What is not safe is the type. Stored values are not converted, so a field changed from text to number holds text values that the new type cannot compare — which shows up as segment conditions that stop matching rather than as an error.

The options list on a select-type field is worth care too: removing an option does not remove it from the contacts already holding that value, so a contact can hold a value the field no longer offers.

Idempotent.

Input

NameTypeRequiredWhat it is
field_keystringYesThe field to update.
idintegerNoThe field ID, as an additional check.
labelstringNoA new label. Safe to change.
typestringNoA new type. Stored values are not converted.
optionsarrayNoReplacement options.

What comes back

NameTypeWhat it is
fieldobjectThe definition after the write.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Rename the plan-tier field label.

It resolves to one call:

{
  "ability": "mailerpress-pro/update-custom-field",
  "parameters": {
    "field_key": "plan_tier",
    "label": "Subscription tier"
  }
}

Worth knowing

  • The label is safe to change; the type is not.
  • Stored values are never converted on a type change.
  • Removing an option leaves contacts holding it.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading