IEventSpotService PutPromocode Method CTCT Wrapper Documented Class Library
Update a promo code for an event

Namespace: CTCT.Services
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

Promocode PutPromocode(
	string accessToken,
	string apiKey,
	string eventId,
	string promocodeId,
	Promocode promocode
)

Parameters

accessToken
Type: System String
Constant Contact OAuth2 access token
apiKey
Type: System String
The API key for the application
eventId
Type: System String
Event id
promocodeId
Type: System String
Promocode id
promocode
Type: CTCT.Components.EventSpot Promocode
The new Promocode values

Return Value

The newly updated Promocode
See Also