You can get catalog price rule data by Rule name or title using Magento 2.
You need to get a rule name from the Catalog rule Grid from the admin panel and you can filter the collection of catalog rule by the name field.
3x Magento Master
You can get catalog price rule data by Rule name or title using Magento 2.
You need to get a rule name from the Catalog rule Grid from the admin panel and you can filter the collection of catalog rule by the name field.
You can delete catalog rule by rule id in Magento 2 using delete by id method of catalog rule repository interface.
You can see a list of available Catalog Price rules from the admin panel by Marketing -> Promotions -> Catalog Price rule.
Get Catalog Rule information by Catalog rule id using Magento 2 with Catalog Rule Repository Interface.
You need to pass Rule id as an argument to get details of Catalog rule. Original Interface class is,
Magento\CatalogRule\Api\CatalogRuleRepositoryInterface