Hi,
When I GET /dwapi/ecommerce/products/{productId} with "Price" included in VariantInfoSettings.FilledProperties I get the following error:
"Message": "An error has occurred.",
"ExceptionMessage": "Value cannot be null.\r\nParameter name: key",
"ExceptionType": "System.ArgumentNullException",
"StackTrace": " at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value)\r\n at Dynamicweb.Caching.DictionaryCache`2.GetCacheResult(IEnumerable`1 keys)\r\n at Dynamicweb.Caching.ServiceCache`2.GetCache(IEnumerable`1 keys)\r\n at Dynamicweb.Caching.ServiceCache`2.GetCache(TKey key)\r\n at Dynamicweb.Ecommerce.Prices.PriceManager.GetPrice(Product product, String currencyCode, String countryCode, String unitId, Int32 userId, String shopId, StockLocation stockLocation)\r\n at Dynamicweb.Ecommerce.ProductCatalog.ViewEngine.<>c__DisplayClass27_0.<CreateVariantInfo>b__0()\r\n at System.Lazy`1.CreateValue()\r\n at System.Lazy`1.LazyInitValue()\r\n at GetPrice(Object )\r\n at Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)"
}
Prices on VariantInfo work when VariantInfoSettings.FilledProperties is omitted from the query