consumeItem

fun consumeItem(    sku: String,     quantity: Long?,     instanceId: String?,     callback: ConsumeItemCallback)

Consumes an inventory item. Use for only for consumable virtual items.

See also

Parameters

sku

Item SKU.

quantity

Item quantity. If an item is uncountable, should be null.

instanceId

Instance item ID. If an item is countable, should be null.

callback

Status callback.

Sources

Link copied to clipboard