Question
PayPal
IN
Last activity: 12 Aug 2020 3:26 EDT
Dynamic Product Rule (RAP) Creation
Is there a way to create Product Rule (RAP) dynamically with a set of parameters say ProductRuleName, Versions to be included, data instances to be included etc?
One way could be to create a new page of Rule-Admin-Product class and populating values to it from params and saving it.
I have checked on the clipboard page of an existing product rule (Rule-Admin-Product). But there are lot of child pages and pagelists on it. So is there any way to custom populate all the required values of a product rule similar to when we create it manually..?
Appreciate any help on this.