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

Individual Item Attribute Endpoint

Use this endpoint to retrieve (GET), update (PUT), or DELETE an existing event item attribute. Attributes provide options and choices for the item to which they belong.

Methods:

Click a method to view its documentation

GET PUT DELETE

DescriptionTOP

Privileges required: campaign:write

Update an existing item attribute by specifying the eventId, itemId, and attributeId path parameters. Include the attribute name and description in the JSON request body. 

NOTE: You cannot change an attribute name once any have been sold to or claimed by event registrants.

PUT: https://api.constantcontact.com/v2/eventspot/events/{eventId}/items/{itemId}/attributes/{attributeId}

Test API

name

type

default

description

api_key

query

REQUIRED; The API key for the application

attributeId

path

Unique ID of the attribute to retrieve

eventId

path

Unique ID of the event for which to retrieve item attributes

itemId

path

Unique ID of the item to which the attributes belong

Example JSON Request BodyTOP

{
    "name": "Hi-Vis Green",
    "quantity_total": 100
}

Response CodesTOP

code

description

201

Attribute was successfully created

400

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

401

Authentication failure

404

An event, item, or attribute with specified ID not found

406

Unsupported accept header value, must be application/json

409

Attribute 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

id

string (100)

The attribute's Unique ID (Read Only)

name

string (100)

REQUIRED. Attribute name, minimum length = 1, cannot leave blank

quantity_available

integer

Number of item attributes that are still available (Read Only)

quantity_total

integer

REQUIRED. Number of item attributes offered, minimum = 0, cannot leave blank

Example ResponseTOP

{
	"id":"9k7uXp6Hgyiq7BCC11zFc476STDHQ_sadfwfRCYGMSU",
	"name":"Hi-Vis Green",
	"quantity_total":100,
	"quantity_available":100
}