AddInventoryItems doesn't work. I always get an InternalServerError 500.
I did allow clients to use that API.
The entity token is valid.
I also triple checked all IDs used.
Here are the different requests I tried (plus some other variations):
AddInventoryItemsRequest request = new AddInventoryItemsRequest { Entity = _entityTokenEconomy, Item = new InventoryItemReference { Id = "92b6c344-636c-4e77-969c-6ca9cb7b7711", // Card item StackId = "wellthisisntgreat" }, Amount = 1 };
AddInventoryItemsRequest request2 = new AddInventoryItemsRequest { Amount = 1, Entity = _entityTokenEconomy, Item = new InventoryItemReference { Id = "bbd4905b-499b-440f-9de9-42f267751f82" // Gold currency } };
AddInventoryItemsRequest request3 = new AddInventoryItemsRequest { Amount = 1, Entity = _entityTokenEconomy, Item = new InventoryItemReference { AlternateId = new AlternateId { Type = "FriendlyId", Value = "gold" // Certainly no typo here } } };