Our v3 API is now available! Learn more by visiting the v3 developer portal.

Individual Promocode Endpoint

Use this API endpoint to retrieve (GET), update (PUT), or DELETE an existing event fee promocode.

Methods:

Click a method to view its documentation

GET PUT DELETE

DescriptionTOP

Privileges required: campaign:write

Delete an existing promocode specified using the promocodeId path parameter.

DELETE: https://api.constantcontact.com/v2/eventspot/events/{eventId}/promocodes/{promocodeId}

Test API

name

type

default

description

api_key

query

REQUIRED; The API key for the application

eventId

path

Unique ID of the event for which to delete the promocode

promocodeId

path

Unique ID of the promocode to delete

Response CodesTOP

code

description

204

Request was successful. No content will be returned

401

Authentication failure

404

The event or promocode with the provided ID not found.

500

Internal server error occurred