campaign_mailings
Update a campaign mailing
Updates a campaign mailing. Only the fields you send are changed. PUT is accepted as an equivalent to PATCH.
subject must stay unique within your account. The unsubscribe footer is reapplied to html_part on every save.
Example curl command:
curl -X PATCH \
https://api.paubox.com/v1/marketing/campaign_mailings/123e4567-e89b-12d3-a456-426614174000 \
-H 'authorization: Token token=YOUR_API_KEY' \
-H 'content-type: application/json' \
-d '{
"campaign_mailing": {
"subject": "March newsletter (revised)"
}
}'
patch/campaign_mailings/{campaign_mailing_id}
Request
- Base URL: https://api.paubox.com/v1/marketing
- URL: https://api.paubox.com/v1/marketing/campaign_mailings/{campaign_mailing_id}
- Auth: API key in header authorization
Path parameters
campaign_mailing_idstring required
UUID of the campaign mailing
Request body
Response
The updated campaign mailing's ID. If validation fails the response is still 200 but the body contains an errors array instead of data.
Changes
No recorded changes to this operation across all 1 revision of this API.