Treazure Coupon Setup¶
Backend API is not publicly available, only for Cow Hills. It is integrated with rCOS Cloud. Coupons can be created, generated, downloaded and managed from there.
Batches¶
Coupons are logistically stored in batches. These batches are used to track individual coupons and coupon stock.
A coupon batch has a size. If the number of available coupons is reached issuing new coupons will fail.
Generation¶
Coupon generation is asynchronous and may take a few minutes. Larger batches are generated during the night to ensure system performance during daytime.
Barcode¶
Coupon barcodes can be generated using alphanumerical digits (Code128) or numerical digits only. Numerical digits may be easier to enter for cashiers/customers and not all receipt printers are capable of printing Code128 barcodes.
A coupon barcode comprises of a fixed prefix (for recognition) and a serial number.
Uniqueness¶
There is a certain level of uniqueness that has to be met before creating new coupons. This is to prevent guessing valid coupon numbers. Rule of thumb is that of all possible numbers only up to 1 in 10000 can exist.
Pre-generate or issue-on-demand¶
Coupons can be generated up front but this is not necessary. Because it is not always possible to know beforehand how many coupons will be issued it is possible to generate an individual coupon on issueing.
Import¶
Coupons can be imported into the system. This is a one time option and this can only be done by Cow Hills.