Getting started
An overview of the Domain-Specific Language (DSL) used for defining rules and their respective conditions and actions within the Commerce Layer Rules Engine
Last updated
An overview of the Domain-Specific Language (DSL) used for defining rules and their respective conditions and actions within the Commerce Layer Rules Engine
Last updated
The Commerce Layer Rules Engine is a Domain-Specific Language (DSL) used for defining rules that can support from the simplest to the most complex logic. The can be evaluated against a specific payload to check if the requested are met so that the respective will be applied.
The Rules Engine is currently with Commerce Layer to enable the creation and management of a super-flexible promotional system that covers a wide set of .
The Rules Engine integration is currently enabled for a subset of : at the moment and are available (more to come).
When defining fields and selectors for the and of a , use the to navigate the relationship tree down to the desired attribute or related resource of Commerce Layer Core API. For more information explore the and , or double-check the public .
The Rules Engine integration is still in beta and available only to our enterprise customers. If you're one of them and want to test and leverage its functionalities reach out to us and request to be part of the beta program.