Skip to main content
Version: 5.7.0

MergeAdvancedIdentity

Merge the profile associated with the provided credentials with the current profile.

ServiceOperation
identityMERGE

Method Parameters

ParameterDescription
authenticationTypeUniversal, Universal, Facebook, etc
idsAuth IDs structure
extraJsonAdditional to piggyback along with the call, to be picked up by pre- or post- hooks. Leave empty string for no extraJson

Usage

http://localhost:3000
AuthenticationType authenticationType = AuthenticationType.Universal;
AuthenticationIds ids;
ids.externalId = "authAdvancedUser";
ids.authenticationToken = "authAdvancedPass";
ids.authenticationSubType = "";
string extraJson = "{\"key\":\"value\"}";

_bc.IdentityService.MergeAdvancedIdentity(
authenticationType,
ids,
extraJson,
SuccessCallback, FailureCallback);
JSON Response
{
"data": {
"profileId": "f94f7e2d-3cdd-4fd6-9c28-392f7875e9df"
},
"status": 200
}