Cancel an Account

Use this endpoint to cancel an existing Toolkit account.

Please note that this endpoint uses basic authentication, and requires the partners username and password be included in each call.

NOTE: This endpoint is available only to approved Constant Contact Technology Platform partners. Learn more here. It also uses basic authentication as documented on this page.

Methods:

Click a method to view its documentation

PUT

DescriptionTOP

Cancel an existing account using the PUT method to change the account status to Cancelled. You must include the cancel_date in ISO-8601 format. You can also specify a cancel_reason for your records.

Here's the list of cancel_reason codes to use, along with their meanings:

Code Description
1 Cost Too High
2 Using A Competitive Service
3 Not Doing Email Marketing
11 Something Missing Or Not Working
12 Doing It In-House
14 Poor Results
21 Too Difficult To Use
27 Cancelled online by customer
30 Dissatisfied With Billing Policies

PUT: https://api.constantcontact.com/v2/partner/accounts/{accountId}/status

name

type

default

description

accountId

path

The Constant Contact ID provided at account creation, specifies the account to cancel

api_key

query

REQUIRED; The API key for the application; key must have Partner level API access

Example JSON Request BodyTOP

{
   "status":"Cancelled",
   "cancel_date":"2014-08-01T00:00:00.00Z",
   "cancel_reason":1
}

Response CodesTOP

code

description

200

Request was successful

401

Authentication failure

404

Either the partner or account specified was not found

405

Unsupported method, only GET and PUT are supported by this endpoint

406

Unsupported accept header value, must be application/json

500

Internal server error occurred

StructureTOP

property

type(max length)

description

cancel_date

date-time

REQUIRED. Date and time the account was cancelled, in ISO-8601 format

cancel_reason

integer

Identifies the reason for cancelling the account, see valid values in the Description section.

status

string

Status to set the account to, is always Cancelled for this endpoint and method

Example ResponseTOP

{
"status":"Cancelled",
"cancel_date":"2014-01-08T00:00:00.000Z",
"cancel_reason":1
}