メインコンテンツへスキップ
POST
Get User Inventory

承認

X-SecretKey
string
header
必須

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

ボディ

application/json

All items currently in the user inventory will be returned, irrespective of how they were acquired (via purchasing, grants, coupons, etc.). Items that are expired, fully consumed, or are no longer valid are not considered to be in the user's current inventory, and so will not be not included. There can be a delay of up to a half a second for inventory changes to be reflected in the GetUserInventory API response.

All items currently in the user inventory will be returned, irrespective of how they were acquired (via purchasing, grants, coupons, etc.). Items that are expired, fully consumed, or are no longer valid are not considered to be in the user's current inventory, and so will not be not included. There can be a delay of up to a half a second for inventory changes to be reflected in the GetUserInventory API response.

PlayFabId
string
必須

Unique PlayFab assigned ID of the user on whom the operation will be performed.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

レスポンス

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
例:
最終更新日 2026年10月6日