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

Event Fees Collection Endpoint

Use this API to retrieve (GET) all existing fees for an event, and create (POST) a new fee for an event.

Methods:

Click a method to view its documentation

GET POST

DescriptionTOP

Privileges required: campaign:write

Create a new fee for the event specified using the eventId path parameter. 

POST: https://api.constantcontact.com/v2/eventspot/events/{eventId}/fees

Test API

name

type

default

description

api_key

query

REQUIRED; The API key for the application

eventId

path

Specifies the event for which to create the fee

Example JSON Request BodyTOP

{
    "label":"My Fee",
    "fee":60.00,
    "fee_scope":"BOTH",
    "early_fee":54.00,
    "late_fee":66.00,
    "has_restricted_access":true
}

Response CodesTOP

code

description

201

Event Fee was successfully created

400

Bad Request: Either JSON was malformed or there was a data validation error

401

Authentication failure

406

Unsupported accept header value, must be application/json

409

Event Fee name already in use

415

Unsupported content-type in the header, use application/json

500

Internal server error occurred

StructureTOP

property

type(max length)

description

early_fee

number

Fee for registrations that occur prior to the event's early_fee_date

fee

number

REQUIRED. The fee amount

fee_scope

string

REQUIRED. Specifies who the fee applies to:

  • BOTH - Fee applies to Registrants and Guests
  • REGISTRANTS - Fee applies to registrants only
  • GUESTS - Fee applies to guests only

has_restricted_access

boolean

Default = false; if true, fee is not displayed on registration page, and is available only to registrants who have a special promocode linked to this fee. See Promocode Collection for more information.

id

string (50)

Unique ID for that fee (Read Only)

label

string (100)

REQUIRED. Fee description displayed to event registrants, each label must be unique

late_fee

number

Fee for registrations that occur after the event's late_fee_date

Example ResponseTOP

{
    "id":"Oto5mVLVQQrKqZkh5uy4SQAAnKWQ2xgb4FzQ8Udc7Ug",
    "label":"My Fee",
    "fee":60.00,
    "fee_scope":"BOTH",
    "early_fee":54.00,
    "late_fee":66.00,
    "has_restricted_access":true
}