Loading...

Description

Update Coupon Definition


Request URL

PUT   https://api.3seventy.com/api/v2.1/account/{accountId}/campaign/{campaignId}/coupon

Request Properties

Parameter Description Mandatory
accountId The account to which the coupon will report to. Yes
campaignId The coupon campaign to define Yes
CouponTypeId The type of coupon that's being defined, Static or Dynamic. Yes
Prefix The prefix code for the coupon. No
StaticCode The static code for the coupon. Yes
ExternalId1 A user definable ID value. No
ExternalId2 A second user definable ID value. No
ValidFrom The date we should start allowing coupons to be redeemed. No
ValidTo THe date we should stop allowing coupons to be redeemed. No
MaxUses The maximum number of allowed uses per customer. No
ValidDateTypeId Coupon Code valid DateTypeId i.e. None or Static or Rolling No
ValidRollingDays Number of days that coupon code is valid for the Rolling date type Coupon Code No
ValidRollingOffSet Rolling offset days of the coupon code No
ExternalListId External Coupon List Id value No
ExternalCouponList External Coupon List details No

C#


Stay tuned for c# code snippet...

Stay tuned for java code snippet

Stay tuned for ruby code snippet