GET
/
v0
/
users
/
{userId}
/
inventory
curl --request GET \
  --url https://api.fungies.io/v0/users/{userId}/inventory \
  --header 'x-fngs-public-key: <api-key>'
{
  "status": "<string>",
  "data": {
    "inventory": [
      {
        "quantity": "<any>",
        "product": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "class": "DigitalDownload",
          "name": "<string>",
          "media": {
            "cover": "<string>"
          },
          "description": "<string>",
          "createdAt": 4503599627370495
        }
      }
    ]
  }
}

Authorizations

x-fngs-public-key
string
header
required

Path Parameters

userId
string
required

GET /v0/users/:userId/inventory Parameter

Query Parameters

productType
enum<string>

GET /v0/users/:userId/inventory Parameter

Available options:
DigitalDownload,
Game,
GiftCard,
SoftwareKey,
VirtualCurrency,
VirtualItem,
Subscription,
OneTimePayment
expiresAfter
string

GET /v0/users/:userId/inventory Parameter

Response

200
application/json
GET /v0/users/:userId/inventory Positive response
status
string
required
Allowed value: "success"
data
object
required