Discounts: Roller Discounts
read only REST
- Catalog:
Roller - Schema:
Data - Primary Keys:
DiscountId - Label: Discounts
Can only retrieve data.
API Source
- Endpoint:
data/discounts
Table Columns
The columns of the table Discounts 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 |
|---|---|---|---|---|---|
amount |
decimal |
Discount Amount | filters on the platform, writable | Dollar amount off the product cost. | |
booking |
varchar2 |
itgen_rlr_bookingdaterestrictiondaterangedays | filters on the platform, writable, booking |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
booking |
datetime |
itgen_rlr_bookingdaterestrictiondaterangeenddate | filters on the platform, writable, booking |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
booking |
datetime |
itgen_rlr_bookingdaterestrictiondterangestartdate | filters on the platform, writable, booking |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
booking |
varchar2 |
itgen_rlr_bookingdaterestrictionfromnumber | filters on the platform, writable, booking |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
booking |
varchar2 |
itgen_rlr_bookingdaterestrictionfromtype | filters on the platform, writable, booking |
Booking dates this discount can be applied on - this is the date the booking is for not the date the booking is created. | |
booking |
varchar2 |
itgen_rlr_bookingrulenumberofuses | filters on the platform, writable, booking |
The usage limits for each code per booking | |
booking |
varchar2 |
itgen_rlr_bookingruletype | filters on the platform, writable, booking |
1 = Across selected products (quantity purchased counts towards uses). | |
code |
varchar2 |
Code Generation Mode | filters on the platform, writable | How discount codes are generated. | |
discount |
varchar2 |
Discount ID | filters on the platform, writable | Unique identifier of the discount. | |
end |
datetime |
End Date | filters on the platform, writable | Last day the discount can be used. | |
is |
char |
Is Single Use Code | filters on the platform, writable | When true, a code for this discount can only be used once. | |
max |
decimal |
Maximum Applicable Amount | filters on the platform, writable | Maximum discount that can be applied to a booking using this discount. | |
name |
varchar2 |
Name | filters on the platform, writable | Discount name. | |
percent |
decimal |
Percent Discount | filters on the platform, writable | Percentage off the product cost. | |
start |
datetime |
Start Date | filters on the platform, writable | First day the discount can be used. | |
usage |
varchar2 |
itgen_rlr_usagelimitnumberofuses | filters on the platform, writable, usage |
The usage limits for each code in total. | |
usage |
varchar2 |
itgen_rlr_usagelimittype | filters on the platform, writable, usage |
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. |
Referenced By
- DiscountCodes
discount_discountId(Key) - DiscountProducts
discount_discountId(Key)
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: