Thanks a lot for your consideration, but i am updating/creating configurable products programatically so what should be my area code ??
I recommend to use \Magento\Framework\App\Area::AREA_ADMINHTML
for all the product updating tasks.
It was defenitely important in Magento 1.x, and could be important in Magento 2 too.
1 Like
A post was split to a new topic: How to create a configurable product programmatically?