SalesRuleCoupon
SalesRuleCoupon is an auto generated table
Columns
Name
Type
ReadOnly
Description
Code
String
False
Coupon code
CouponId [KEY]
Int
False
Coupon id
CreatedAt
Datetime
False
When the coupon is created
ExpirationDate
String
False
Expiration date
ExtensionAttributes
String
False
This is an auto-generated column
IsPrimary
Bool
False
The coupon is primary coupon for the rule that it's associated with
RuleId
Int
False
The id of the rule associated with the coupon
TimesUsed
Int
False
The number of times the coupon has been used
Type
Int
False
Of coupon
UsageLimit
Int
False
Usage limit
UsagePerCustomer
Int
False
Usage limit per customer
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name
Type
Description
CouponId_p
Int
This is an auto-generated column
Last updated