When importing products, sometimes some attributes are not set, or have no value (for example, weight sometimes is not sent through the API). Especially weight sometimes gives us issues, since it's used by UPS to calculate the shipping price. I know that Magento already has an option for default values, but that's only if you manually enter the products.
My question is, how can I set a default value for any attribute, but for products which get imported using the REST API, or maybe even SOAP. Will I need to create a class preference or a plugin? Is there an option for this in admin that I missed? Any advice is welcome... Thanks! Magento 2.4.3-p1