question

swapnilnegi avatar image
swapnilnegi asked

RevokeInventoryItems

Is there a way to revoke multiple items in a batch. This API allows removal of one item at a time.

10 |1200

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

brendan avatar image
brendan answered

Not at the moment, no. What is the scenario in which this would be necessary? Normally, games remove items from players via usage (i.e.: https://api.playfab.com/documentation/client/method/ConsumeItem).

10 |1200

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

swapnilnegi avatar image
swapnilnegi answered

We are using a certain number of items(cards) for crafting. Lets say 5 cards and some silver currency to get some gold currency. So after a user has completed crafting I want the cards which were used in crafting to be removed from the user's inventory. So we have used RevokeInventoryItems API to remove an item. If the number of items to be removed are more, that would result in more time for the items to be removed. Also how to check whether the item was revoked successfully.?

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.