Update project campaign
Required scope: campaigns:manage
Updates the fields you send and leaves the rest unchanged. On an unlaunched draft, a new senderConfig passes the same checks as create, on any plan; launch checks the selection against live plans. Once the campaign has launched, including a scheduled launch that has not started, a new senderConfig must pass the launch checks and can answer 402 campaigns_not_entitled or 400 invalid_parameter. recipientListId and a different scheduledAt are accepted only while the campaign is an unlaunched draft; afterwards they answer 409. A sender change to a draft that launches while the change is being saved also answers 409. sendWindow changes only while draft or paused; a paused edit answers 409 while sends are in progress. A non-null scheduledAt must be integer Unix milliseconds within the JavaScript Date range.
Authorizations
Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.
Path Parameters
Specifies project slug for this path parameter.
Identifier for this resource.
Value constraints
Body
New name, 1 to 200 characters after trimming.
Value constraints
1 - 200Audience to send to, or null for none. Only an unlaunched draft can change it; the campaign's current recipients are replaced by the audience's members at launch.
Accepted alternatives
Value constraints
Replaces the sender selection and throughput. On an unlaunched draft it passes the same checks as create. Once the campaign has launched it must pass the launch checks.
Start time in milliseconds since the Unix epoch, or null to start at launch. Only an unlaunched draft can change it.
Accepted alternatives
Value constraints
0 <= x <= 8640000000000000Specifies send window for this native update campaign request.
Accepted alternatives
Accepted alternatives