getInventory

getInventory()ProductInventory

Retrieves the product’s total supply and total number of purchases.

Field
Type
Required
Description

totalSupply

number

Total product supply. A value of -1 indicates unlimited supply.

totalPurchased

number

Total product purchased

Last updated