DiscountCodes: Roller Discount Codes
read only REST
- Catalog:
Roller - Schema:
Data - Label: Discount Codes
Can only retrieve data.
API Source
- Endpoint:
data/discounts
Table Columns
The columns of the table DiscountCodes are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
discount |
varchar2 |
Discount Code | filters on the platform, writable, ::self |
Discount code. | |
discount_ |
decimal |
itgen_rlr_discount_amountoff | filters on the platform, writable, ::ancestor. |
Dollar amount off the product cost. | |
discount_ |
varchar2 |
itgen_rlr_discount_bookingdaterestrictiondaterangedays | filters on the platform, writable, ::ancestor. |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
discount_ |
datetime |
itgen_rlr_discount_bookingdaterestrictiondaterangeenddate | filters on the platform, writable, ::ancestor. |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
discount_ |
datetime |
itgen_rlr_discount_bookingdaterestrictiondterangestartdate | filters on the platform, writable, ::ancestor. |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
discount_ |
varchar2 |
itgen_rlr_discount_bookingdaterestrictionfromnumber | filters on the platform, writable, ::ancestor. |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
discount_ |
varchar2 |
itgen_rlr_discount_bookingdaterestrictionfromtype | filters on the platform, writable, ::ancestor. |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
discount_ |
varchar2 |
itgen_rlr_discount_bookingrulenumberofuses | filters on the platform, writable, ::ancestor. |
The usage limits for each code per booking | |
discount_ |
varchar2 |
itgen_rlr_discount_bookingruletype | filters on the platform, writable, ::ancestor. |
1 = Across selected products (quantity purchased counts towards uses). | |
discount_ |
varchar2 |
itgen_rlr_discount_codegenerationmode | filters on the platform, writable, ::ancestor. |
How discount codes are generated. | |
discount_ |
varchar2 |
itgen_rlr_discount_discountid | filters on the platform, writable, ::ancestor. |
Unique identifier of the discount. | |
discount_ |
datetime |
itgen_rlr_discount_enddate | filters on the platform, writable, ::ancestor. |
Last day the discount can be used. | |
discount_ |
char |
itgen_rlr_discount_issingleusecode | filters on the platform, writable, ::ancestor. |
When true, a code for this discount can only be used once. | |
discount_ |
decimal |
itgen_rlr_discount_maxapplicableamount | filters on the platform, writable, ::ancestor. |
Maximum discount that can be applied to a booking using this discount. | |
discount_ |
varchar2 |
itgen_rlr_discount_name | filters on the platform, writable, ::ancestor. |
Discount name. | |
discount_ |
decimal |
itgen_rlr_discount_percentoff | filters on the platform, writable, ::ancestor. |
Percentage off the product cost. | |
discount_ |
datetime |
itgen_rlr_discount_startdate | filters on the platform, writable, ::ancestor. |
First day the discount can be used. | |
discount_ |
varchar2 |
itgen_rlr_discount_usagelimitnumberofuses | filters on the platform, writable, ::ancestor. |
The usage limits for each code in total. | |
discount_ |
varchar2 |
itgen_rlr_discount_usagelimittype | filters on the platform, writable, ::ancestor. |
0 = Per code, 1 = Per user, 2 = For each selected product (regardless of quantity purchased), 3 = Across selected products (quantity purchased counts towards uses), 4 = Per code per day, 5 = Per code per week, 6 = Per code per month, 7 = Per code per year. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Discount |
discount_ |
Discounts. |
Key |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: