# SalesRule

## Content



| ColumnName | DataType | Description |
| --- | --- | --- |
| Rule\_id | Int | Rule Id |
| Name | String | Name |
| Store\_labels | String | Store Labels |
| Description | String | Description |
| Website\_ids | String | A List Of Websites The Rule Applies To |
| Customer\_group\_ids | String | Ids Of Customer Groups That The Rule Applies To |
| From\_date | String | The Start Date When The Coupon Is Active |
| To\_date | String | The End Date When The Coupon Is Active |
| Uses\_per\_customer | Int | Number Of Uses Per Customer |
| Is\_active | Boolean | The Coupon Is Active |
| Condition | String | Condition |
| Action\_condition | String | Action Condition |
| Stop\_rules\_processing | Boolean | To Stop Rule Processing |
| Is\_advanced | Boolean | Is This Field Needed |
| Product\_ids | String | Product Ids |
| Sort\_order | String | Sort Order |
| Simple\_action | String | Simple Action Of The Rule |
| Discount\_amount | String | Discount Amount |
| Discount\_qty | String | Maximum Qty Discount Is Applied |
| Discount\_step | Int | Discount Step |
| Apply\_to\_shipping | Boolean | The Rule Applies To Shipping |
| Times\_used | Int | How Many Times The Rule Has Been Used |
| Is\_rss | Int | Whether The Rule Is In RSS |
| Coupon\_type | String | Coupon Type |
| Use\_auto\_generation | Boolean | To Auto Generate Coupon |
| Uses\_per\_coupon | Boolean | To Auto Generate Coupon |
| Extension\_attributes | String | Extension Attributes |