I pulled up the promotionData I want to modify.
I notice the IsReadOnly property is true and I can't add or create the ExcludedCatalogItems List.
I get this error if I try to make a new List
The property ExcludedCatalogItems is read-only
How do I go about adding/modifying the excludedCatalogItems.
How do I go about resolving this? I'm guessing I need to change IsReadOnly to false but unsure how.
DId you create a writeable clone for the promotion first? something like
var writeable = promotion.CreateWriteableClone<PromotionData>();
writeable.ExcludedCatalogItems = ...;
that was it. thank you. happy belated new year