Need to create rules based on bundles?
Learn more
LogoLogo
APIsChangelog
  • Getting started
  • Rules
  • Conditions
    • Scope
    • Aggregations
    • Nested
    • Dynamic values
  • Actions
    • Types
      • Percentage
      • Fixed amount
      • Fixed price
      • Buy X pay Y
      • Every X discount Y
    • Bundle
      • Balanced
      • Every
    • Aggregation
    • Limit
  • Matchers
  • Operators
  • Check and validation
  • Core API integration
    • Order rules
    • Price rules
    • Virtual relationships
  • Resources
    • Promotions
    • Price lists
  • Use cases
    • Promotions
      • Discount line items based on item's price
      • Get a discount when paying by credit card
      • Discount an order based on promo item and total number of items
      • Offer a specific shipping method for free in a specific country
      • Discount items with large stock availability
      • Discount all the SKU in an order based on the shipping country
      • Discount all the SKU in an order based on the customer email domain
    • Price lists
      • Discount all prices greater than or equal to a specific value
      • Discount specific SKUs for new clients
      • Change strike-through price based on customer email domain
On this page
  1. Actions

Types

All the types of actions currently available on the Rules Engine

PreviousActionsNextPercentage

Last updated 3 months ago

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).

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

Type
Description
Resources
Learn more

percentage

Applies a percentage discount to the amount of the selected field.

PromotionsPrice lists
Percentage

fixed_amount

Applies a fixed discount to the unit amount of the selected field (or it based on the related total amount).

PromotionsPrice lists
Fixed amount

fixed_price

Overwrites the unit amount of the selected field with the specified value.

PromotionsPrice lists
Fixed price

buy_x_pay_y

If the quantity of the selected items is a multiple of x, only the same multiple of y units are considered for the total price computation.

Promotions
Buy X pay Y

every_x_discount_y

Applies a fixed amount discount of value y (proportionally distributed based on the quantity of the selected items) for each interval defined by the value x on the amount of a specific field.

Promotions
Every X discount Y

As highlighted in the table above, not all the actions might be available for all the resources for which the Rules Engine is currently enabled. Check the single resource pages for more information.

proportionally distributes
Core API