Consume virtual items and currencies from player inventory

A player’s inventory can contain the following types of items they bought or received according to the game logic:

  • Virtual items:
    • Consumable (grenades, bullets, etc.) of which the quantity decreases when consumed.
    • Nonconsumable (access to a location, status, cosmetics, pre-installed DLC, NO ADS option for mobile games, etc.).
    • Time-limited items (temporary access to an in-game cosmetic item, item, additional content, etc.).

  • Virtual currencies

You can implement the item consumption logic from the application client only for consumable virtual items and virtual currencies. To do this, use the consumeInventoryItem SDK method.

You can only remove non-consumable and time-limited items from the inventory via the Revoke inventory items server API method.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!

Useful links

Last updated: January 22, 2024

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!