Coupons

Coupons

This resource represents coupons.


Get current users coupons

Coupons applied to current user

Response

Field Name

Type

Description

Notes

Field Name

Type

Description

Notes

ID

int

Coupon Rec ID

 

AccountID

int

SysConfig Account ID

 

CouponType

int

Coupon Type

0 = Join loyalty program
1 = Bonus added to account
2 = Free start credits added to account
3 = Loyalty points added to account
4 = Discount applied to account
5 = User added to user group

Name

string

Coupon name

 

Desc

string

Coupon description

 

Code

string

Coupon code

 

Param1

string

Coupon parameter #1

 

Param2

string

Coupon parameter #2

Empty other than for Type=1 bonus coupons requiring a spend amount which will list the total required spend amount

IsPending

bool

Coupon application is pending

See PendingText

PendingText

string

Coupon pending description

Empty other than for Type=1 bonus coupons requiring a spend amount which will list the remaining spend amount

UserAddDate

DateTime

Date coupon added for user (UTC)

 

EndDate

DateTime

Ending date (UTC)

 

GET /api/Coupon