Pular para o conteúdo principal

Update a player

PATCH 

/api/players-data/v1/players/:playerId

Update an existing player. Send only the fields you want to change; fields you leave out keep their current values.

  • address and session are replaced as a whole. To change one of their fields, send the complete object, including its required fields (for example, send registrationDate and registrationDevice again to set verificationDate).
  • In optIn, channels you leave out are unchanged.
  • For customData fields of option type with multiple values, option.behavior sets whether the selected values are added, replaced or removed.
  • eventDate records when the player data was updated.

The player must already exist (created with Create a player); otherwise the call returns 404 Player Not Found. Returns 204 No Content on success.

Request​

Responses​

No Content