Say we have a currency called "COINS" with an ID of "abc-123" and we create a draft item "Box" in the Game Manager. We can add multiple prices, each with a "For Amount". For example, our prices might look like this:
Then we can use the Get Draft Items API call to get the item. The retrieved CatalogItem has a PriceOptions field which is a CatalogPriceOptions which has an array of CatalogPrice which each has an array of CatalogPriceAmount which has an Amount and an Item ID. Using the above example, our Box would have three CatalogPriceAmounts:
ItemId: abc-123, Amount: 100
ItemId: abc-123, Amount: 180
ItemId: abc-123, Amount: 250
As far as I can tell, the "For Amount" field from the Game Manager, which should be 1, 2, and 3 respectively, is not present in the data we get from the API. We now have a list of prices for different quantities of Box, but no indication of how many Boxes we get for each price.
Is this a flaw in the API, or are the "For Amount" values tucked away somewhere else where they're hard to find?