Laposta icon

Laposta

Interact with Laposta API

Campaign → Update

AI-generated

Summary

Updates an existing Laposta campaign by ID. Supply the Campaign ID (required) and, in the Update Fields collection, add only the properties you want to change: Name, Subject, From Name, From Email, Reply To, Google Analytics (ga), or Mtrack (mtrack). The node POSTs to /campaign/{campaignId} with only the selected fields, so omitted fields stay unchanged. From Name and From Email are sent together as a nested from object only if at least one is provided; the sender email must be approved in Laposta. Google Analytics and Mtrack are sent as boolean stats flags when toggled on or off. The Laposta API response containing the updated campaign is returned as JSON. Note that empty-string values are treated as unset, so this operation cannot clear a text field to an empty value.

Inputs

None.

Output shape

Links

Discussion