question

Chromatic Games avatar image
Chromatic Games asked

How to get all inventory in v2 if over 50

So im trying to get all inventory in economy v2. GetInventoryItems will only handle 50 at a time. how do we handle having a count above 50. is there a way to batch GetInventoryItems to get the 1-50 then 51-100 etc.

In-Game EconomyPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

If the player has more than 50 items in the inventory, you can use the ContinuationToken returned by the GetInventoryItems API to retrieve the next page of items in the inventory.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.