Product Attribute is used to display in Promo Rules for Shopping Cart Discount. It’s based on you, whether attribute wants to display on Promo rule or not.
You can manage/check it from the Manage Attribute section of the Backend of Magento manually but from programmatic way, you need to create additional logic for it. Continue reading “How to Check Attribute is used for promo rules by id programmatically Magento 2?”