Update a promo code for an event
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Promocode PutPromocode(
string accessToken,
string apiKey,
string eventId,
string promocodeId,
Promocode promocode
)
Promocode PutPromocode(
string accessToken,
string apiKey,
string eventId,
string promocodeId,
Promocode promocode
)
Function PutPromocode ( _
accessToken As String, _
apiKey As String, _
eventId As String, _
promocodeId As String, _
promocode As Promocode _
) As Promocode
Function PutPromocode ( _
accessToken As String, _
apiKey As String, _
eventId As String, _
promocodeId As String, _
promocode As Promocode _
) As Promocode
Promocode^ PutPromocode(
String^ accessToken,
String^ apiKey,
String^ eventId,
String^ promocodeId,
Promocode^ promocode
)
Promocode^ PutPromocode(
String^ accessToken,
String^ apiKey,
String^ eventId,
String^ promocodeId,
Promocode^ promocode
)
abstract PutPromocode :
accessToken : string *
apiKey : string *
eventId : string *
promocodeId : string *
promocode : Promocode -> Promocode
abstract PutPromocode :
accessToken : string *
apiKey : string *
eventId : string *
promocodeId : string *
promocode : 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