Delete a promo code for an event
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
bool DeletePromocode(
string accessToken,
string apiKey,
string eventId,
string promocodeId
)
bool DeletePromocode(
string accessToken,
string apiKey,
string eventId,
string promocodeId
)
Function DeletePromocode ( _
accessToken As String, _
apiKey As String, _
eventId As String, _
promocodeId As String _
) As Boolean
Function DeletePromocode ( _
accessToken As String, _
apiKey As String, _
eventId As String, _
promocodeId As String _
) As Boolean
bool DeletePromocode(
String^ accessToken,
String^ apiKey,
String^ eventId,
String^ promocodeId
)
bool DeletePromocode(
String^ accessToken,
String^ apiKey,
String^ eventId,
String^ promocodeId
)
abstract DeletePromocode :
accessToken : string *
apiKey : string *
eventId : string *
promocodeId : string -> bool
abstract DeletePromocode :
accessToken : string *
apiKey : string *
eventId : string *
promocodeId : string -> bool
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
Return Value
True if successfuly deleted