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.
Click a method to view its documentation
Privileges required: campaign:read
Retrieve a specific event item attribute usimg the eventId
, itemId
, and attributeId
path parameters to specify the attribute.
GET: https://api.constantcontact.com/v2/eventspot/events/{eventId}/items/{itemId}/attributes/{attributeId} |
|||
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 the item attribute |
|
itemId |
path |
Unique ID of the item to which the attribute belongs |
code |
description |
---|---|
200 |
Request was successful |
401 |
Authentication failure |
404 |
An event, item, or attribute could not be found for the ID provided |
406 |
Unsupported Accept Header value, must be application/json |
500 |
Internal server error occurred |
property |
type(max length) |
description |
---|---|---|
id |
string (100) |
The attribute's Unique ID |
name |
string (100) |
Attribute name, minimum length = 1, cannot leave blank |
quantity_available |
integer |
Number of item attributes that are still available |
quantity_total |
integer |
Number of item attributes offered, minimum = 0, cannot leave blank |
{ "id":"9k7uXp6Hgyiq7BCC11zFc476STDHQ_sadfwfRCYGMSU", "name":"Hi-Vis Green", "quantity_total":75, "quantity_available":75 }