Event Items are products that are associated with an event that may be for sale or available at no cost. They are listed on an event registration page so that registrants can access them during the registration process. Use this API endpoint to create (POST) a new item and retrieve (GET) all existing items associated with an event.
Click a method to view its documentation
Privileges required: campaign:list
Retrieves the email campaigns in a user's account as follows:
status
query parameter; see the parameter table below for status types and definitionsmodified_since
query parameter. This is useful for syncing email campaigns across applications.Campaign sort order depends on the campaign status:
Status | Campaign sort order |
DRAFT | by the latest modified_date |
SENT | by the latest last_run_date |
SCHEDULED | by the next_run_date |
DELETED | by the latest last_run_date if it was sent, or by the latest modified_date, if it was never sent |
Deleted campaigns are included in a GET response only when status=DELETED query parameter is used. They are not included in the GET collection by default. You cannot retrieve an individual deleted campaign object using the API.
Privileges required: mylibrary:file:read
Retrieve a list of MyLibrary folders and their properties for the authorized Constant Contact account. MyLibrary supports a folder hierarchy with 3 levels of nesting. Primary, child (2nd level) and grandchild (3rd level) folders all have the same properties associated with them. This endpoint returns an empty results array if there are no folders in the user's account.
Privileges required: mylibrary:file:read
The following options are available when retrieving Library files:
api_key
)type
query parameter (ALL, IMAGE, or Document)source
query parametertype
and source
query parametersThere are many options available for sorting the JSON response using the sort_by
query parameter.
Privileges required: campaign:read
Retrieve an event item by using the eventId
and itemId
path parameters to specify the event and item.
Privileges required: campaign:read
Retrieve a list of all items for an event specified using the eventId
path parameter.
Privileges required: campaign:read
Get a specific event object (specified by the event_id
path parameter). Properties with a null value are not returned in the JSON response.
Privileges required: campaign:read
Retrieve detailed information about a specific registrant (specified by registrantId
) for an event (specified by eventId
).
Privileges required: campaign:read
Retrieve the collection of all registrants for the event specified using the event_id
path parameter.
Privileges required: campaign:read
Retrieve a specific promotional code for an event; use the promocodeId
and eventId
path parameters to specify the code and the event it belongs to.
Privileges required: campaign:read
Retrieve all promocodes for an event specified by the eventId
path parameter.
GET: https://api.constantcontact.com/v2/eventspot/events/{eventId}/items |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
|
eventId |
path |
Unique ID of the event for which to retrieve items |
code |
description |
---|---|
200 |
Request was successful |
401 |
Authentication failure |
404 |
An event could not be found for the eventId provided |
406 |
Unsupported Accept Header value, must be application/json |
500 |
Internal server error occurred |
property |
type(max length) |
description |
---|
[ { "id":"9k7uXp6Hgyiq7BCC11zFc4PJUvBGM9P1V53KQcYO8Aw", "name":"Running Belt", "description":"Moisture Wicking, holds 2 bottles", "price":20.25, "attributes":[ { "id":"9k7uXp6Hgyiq7BCC11zFc0XQU2aR_wPmDNJVddPgGWM", "name":"Royal Blue", "quantity_total":175, "quantity_available":175 }, { "id":"9k7uXp6Hgyiq7BCC11zFc476STDHQ_sadfwfRCYGMSU", "name":"Hi-Vis Green", "quantity_total":75, "quantity_available":75 } ], "per_registrant_limit":1, "show_quantity_available":true, "default_quantity_total":250 }, { "id":"9k7uXp6Hgyiq7BCC11zFc7IwqpZ7nzW2Y09fUs00t3Q", "name":"Golf Shirt w/logo", "description":"Underarmour moisture wicking material", "price":32.0, "attributes":[ ], "per_registrant_limit":2, "show_quantity_available":true, "default_quantity_total":300, "default_quantity_available":300 } ]