I am creating inventory items using the InventoryAPI models (c#). On the InventoryItem model Aspects is a IList<string> but a KeyValuePair seems more appropriate than a string. All aspects have a name and value, for example [Brand]:[Microsoft].
I have tried adding
but I am ovbviously having a "Hello World" moment and missing something because no matter what I try I always get an error returned:
"Could not serialize field [product.aspects]"
How do I format the aspect string to add an aspect to an inventory item?