Hello DAX Buddy,
Here is a code to Update Product Attribute for an item in D365FO using X++ programming