For the complete documentation index, see llms.txt. This page is also available as Markdown.

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