# Types

At the moment, the following types of action are available (more to come — feel free to reach out to us and submit a feature request if you need specific additional types).&#x20;

Check the single action type pages for more information about how they work:

<table><thead><tr><th width="239">Type</th><th width="250">Description</th><th width="145">Resources<select multiple><option value="hxfpyUUNsewy" label="Promotions" color="blue"></option><option value="3OpwB20hSpiJ" label="Price lists" color="blue"></option></select></th><th width="197" data-type="content-ref">Learn more</th></tr></thead><tbody><tr><td><strong><code>percentage</code></strong></td><td>Applies a percentage discount to the amount of the selected field.</td><td><span data-option="hxfpyUUNsewy">Promotions, </span><span data-option="3OpwB20hSpiJ">Price lists</span></td><td><a href="types/percentage">percentage</a></td></tr><tr><td><strong><code>fixed_amount</code></strong></td><td>Applies a fixed discount to the unit amount of the selected field (or <a href="fixed-amount#discount-mode">proportionally distributes</a> it based on the related total amount).</td><td><span data-option="hxfpyUUNsewy">Promotions, </span><span data-option="3OpwB20hSpiJ">Price lists</span></td><td><a href="types/fixed-amount">fixed-amount</a></td></tr><tr><td><strong><code>fixed_price</code></strong></td><td>Overwrites the unit amount of the selected field with the specified value.</td><td><span data-option="hxfpyUUNsewy">Promotions, </span><span data-option="3OpwB20hSpiJ">Price lists</span></td><td><a href="types/fixed-price">fixed-price</a></td></tr><tr><td><strong><code>free_gift</code></strong></td><td>Applies a 100% discount to line items added to the cart as free gifts by targeting them by SKU, bundle, or SKU list IDs.</td><td><span data-option="hxfpyUUNsewy">Promotions</span></td><td><a href="types/free-gift">free-gift</a></td></tr><tr><td><strong><code>buy_x_pay_y</code></strong></td><td>If the quantity of the selected items is a multiple of <code>x</code>, only the same multiple of <code>y</code> units are considered for the total price computation.</td><td><span data-option="hxfpyUUNsewy">Promotions</span></td><td><a href="types/buy-x-pay-y">buy-x-pay-y</a></td></tr><tr><td><strong><code>every_x_discount_y</code></strong></td><td>Applies a fixed amount discount of value <code>y</code> (proportionally distributed based on the quantity of the selected items) for each interval defined by the value <code>x</code> on the amount of a specific field. </td><td><span data-option="hxfpyUUNsewy">Promotions</span></td><td><a href="types/every-x-discount-y">every-x-discount-y</a></td></tr></tbody></table>

{% hint style="warning" %}
As highlighted in the table above, not all the actions might be available for all the [Core API](https://app.gitbook.com/o/-Lfu_B3DKew-kvoEWzTk/s/RWJeylueWkzLadK710XZ/) resources for which the Rules Engine is [currently enabled](https://docs.commercelayer.io/rules-engine/readme#core-api-integration). Check the [single resource pages](https://docs.commercelayer.io/rules-engine/resources) for more information.
{% endhint %}
