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 |
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 |
---|
{ "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" } ] }