메인 콘텐츠로 건너뛰기
POST
Grant Items To Users

인증

X-SecretKey
string
header
필수

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

본문

application/json

This function directly adds inventory items to user inventories. As a result of this operations, the user will not be charged any transaction fee, regardless of the inventory item catalog definition. Please note that the processing time for inventory grants and purchases increases fractionally the more items are in the inventory, and the more items are in the grant/purchase operation.

This function directly adds inventory items to user inventories. As a result of this operations, the user will not be charged any transaction fee, regardless of the inventory item catalog definition. Please note that the processing time for inventory grants and purchases increases fractionally the more items are in the inventory, and the more items are in the grant/purchase operation.

ItemGrants
object[]
필수

Array of items to grant and the users to whom the items are to be granted.

CatalogVersion
string

Catalog version from which items are to be granted.

CustomTags
object

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

응답

Please note that the order of the items in the response may not match the order of items in the request.

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

Please note that the order of the items in the response may not match the order of items in the request.

예시:
마지막 수정일 2026년 10월 6일