Skip to main content

Update a from address

You can update the default sender name of the from address by updating the from address. You can't update the e-mail address itself, to do that you have to delete it and create a new one.

PUT https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/fromaddresses/{fromAddressID}

PUT Parameters​

NameInDescriptionRequiredTypeExample
AccountIDPathThe account guidTrueGuidA8C062E4-ECFD-48D0-89B1-A37D2622B7A9
FromAddressIDPathThe from address guidTrueGuid860AB261-0A7A-470D-B615-F99523A38F4C
BodyBodyThe from address to updateTrueJson objectSee example request
X-CM-PRODUCTTOKENHeaderYour product tokenTrueGuidC24A5029-37DD-4161-9728-F80D8639588E
Example request
{
"Name" : "John Doe"
}

Responses​

Http statusDescription
200Successful updated
400Bad request
Example response
{
"ID": "860ab261-0a7a-470d-b615-f99523a38f4c",
"AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
"Name": "John Doe",
"EmailAddress": "[email protected]",
"CreatedOn": "2017-08-04T11:06:43.826",
"CreatedOnUtc": "2017-08-04T10:06:43.826Z",
"ModifiedOn": "2017-08-04T11:06:43.826",
"ModifiedOnUtc": "2017-08-04T10:06:43.826Z",
"DeletedOn": null,
"DeletedOnUtc": null
}