I am using Sitecore XC9 update-2 and noticed that import commerce items are not published by default. The items are however shown when using the Authoring environment, but not when using the Shops environment.
I found this setting for the Authoring environment:
{
"$type": "Sitecore.Commerce.Core.IgnorePublishedPolicy, Sitecore.Commerce.Core"
}
Is it since XC9 update-2 necessary to publish commerce items after import? And if so, how to do this programmatically?