Use this endpoint to view (GET) or update (PUT) account-related information for the authorized Constant Contact account. The account is identified by the access token used when making the call to the API, as with all API calls.
Click a method to view its documentation
Privileges required: account:write
Updates account-related information for the authorized Constant Contact account.
PUT: https://api.constantcontact.com/v2/account/info |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
{ "website":"http://www.example.com", "organization_name":"My Company", "first_name":"Mary Jane", "last_name":"Doe", "email":"mjdoe@example.com", "phone":"55555555", "country_code":"US", "state_code":"MA", "organization_addresses":[ { "city":"Anytown", "line1":"123 Maple Street", "line2":"Suite 222", "line3":"Cherry Hill Park", "postal_code":"11111", "country_code":"US", "state_code":"MA" } ] }
code |
description |
---|---|
204 |
Account information successfully updated |
400 |
Either JSON was malformed or there was a data validation error |
401 |
Authentication failure |
406 |
Unsupported Accept Header value, must be application/json |
415 |
Unsupported content-type in the header, use application/json |
500 |
Internal server error occurred |
522 |
Server connection timed out; please retry |
property |
type(max length) |
description |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
company_logo |
string |
URL to the logo associated with the account if the account owner has provided one. No value is returned if user has not added a logo. (Read Only) |
||||||||||||||||||||||||
country_code |
string (2) |
Standard 2 letter ISO 3166-1 code of the country associated with the account |
||||||||||||||||||||||||
|
string (80) |
Email address associated with the account |
||||||||||||||||||||||||
first_name |
string (80) |
The account owner's first name |
||||||||||||||||||||||||
last_name |
string (80) |
The account owner's last name |
||||||||||||||||||||||||
+ organization_addresses |
array |
An array of organization street addresses; currently, only a single address is supported. This is not a required attribute, but if you include |
||||||||||||||||||||||||
|
||||||||||||||||||||||||||
organization_name |
string (80) |
Name of the organization associated with the account |
||||||||||||||||||||||||
phone |
string (20) |
The account owner's phone number. In the CTCT console, click My Account then Manage Account to view Account Information, such as the Phone Number. |
||||||||||||||||||||||||
state_code |
string (2) |
2 letter code for USA state or Canadian province ONLY, available only if |
||||||||||||||||||||||||
time_zone |
string |
The time zone associated with the account (Read Only) |
||||||||||||||||||||||||
website |
string (255) |
The URL of the Web site associated with the account |
{ "website":"http://www.example.com", "organization_name":"My Company", "time_zone":"US/Eastern", "first_name":"Mary Jane", "last_name":"Doe", "email":"mjdoe@example.com", "phone":"55555555", "company_logo":"https://ih.constantcontact.com/fs137/1100371573368/img/90.jpg", "country_code":"US", "state_code":"MA", "organization_addresses":[ { "city":"Anytown", "line1":"123 Maple Street", "line2":"Suite 222", "line3":"Cherry Hill Park", "postal_code":"11111", "country_code":"US", "state_code":"MA" } ] }