Variables

id

int64

The id of the coupon.

description

string

The description of the coupon.

expirationDate

int64

The expiration date of the coupon.

startDate

int64

The start date of the coupon.

cashMinimumConstraint

string

The minimum amount of cash to spend in order to use the coupon.

productConstraint

list ProductQuantityConstraintVO

A list of product quantities that need to be bought in order to use the coupon.

programConstraint

ProgramQuantityConstraintVO

A list of program quantities that need to be bought from in order to use the coupon.

merchantConstraint

int64

The merchant where the coupon can be used.

cardtypeConstraint

int64

The cardtype that needs to be used in order to use the coupon.

cashDiscount

string

The amount of cash that will be discounted.

procentualDiscount

string

The percentage that will be discounted.

productDiscount

ProductQuantityDiscountVO

The quantity a product will be discounted.

programDiscount

ProgramQuantityDiscountVO

The quantity a product belonging to a program will be discounted.

ProductQuantityConstraintVO

Description of a product quantity constraint.

Variables

productId

int64

The product id for the constaint.

amount

int64

The number of times the constraint can be used.

external_product_id

int64

The external product id for the constaint.

ProductQuantityDiscountVO

Description of a product quantity discount.

Variables

productId

int64

The product id for the discount.

amount

int64

The number of times the discount can be used.

productName

string

The product name for the discount

ProgramQuantityConstraintVO

Description of a program quantity constraint.

Variables

programId

int64

The program id for the constraint.

amount

int64

The number of times the constraint can be used.

ProgramQuantityDiscountVO

Description of a program quantity discount.

Variables

programId

int64

The program id for the discount.

amount

int64

The number of times the discount can be used.

Close