merge_identity_id into the authenticated session identity and keeps the authenticated identity.identity_merge_log. Every game in which both identities have a live player must carry a resolution naming the player to keep; the other player of that game is soft-deleted. A missing or invalid resolution answers 400 and writes nothing.POST /identity/v1/merge/preview (or the merge offer of the request that met the conflict) and let the player choose.x-session-token) that is linked to an identity.curl --location 'https://api.lootlocker.com/identity/v1/merge' \
--header 'x-session-token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"merge_identity_id": "string",
"resolutions": [
{
"game_id": 0,
"keep_player_id": 0
}
],
"trigger_provider": "string",
"trigger_provider_uid": "string"
}'{
"id": "string",
"publisher_id": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"game_activity": [
{
"game_id": 0,
"first_session_at": "2019-08-24T14:15:22.123Z",
"last_session_at": "2019-08-24T14:15:22.123Z",
"session_count": 0
}
]
}