メインコンテンツへスキップ
POST
Update Character Statistics

承認

X-Authorization
string
header
必須

This API requires a client session ticket, available from any Client Login function.

ボディ

application/json

Enable this option with the 'Allow Client to Post Player Statistics' option in PlayFab GameManager for your title. However, this is not best practice, as this data will no longer be safely controlled by the server. This operation is additive. Character Statistics not currently defined will be added, while those already defined will be updated with the given values. All other user statistics will remain unchanged. Character statistics are used by the character-leaderboard apis, and accessible for custom game-logic.

Enable this option with the 'Allow Client to Post Player Statistics' option in PlayFab GameManager for your title. However, this is not best practice, as this data will no longer be safely controlled by the server. This operation is additive. Character Statistics not currently defined will be added, while those already defined will be updated with the given values. All other user statistics will remain unchanged. Character statistics are used by the character-leaderboard apis, and accessible for custom game-logic.

CharacterId
string
必須

Unique PlayFab assigned ID for a specific character owned by a user

CharacterStatistics
object

Statistics to be updated with the provided values, in the Key(string), Value(int) pattern.

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日