This method sets account data into a user's account. The method accepts a list of optional parameters each defining a field/object in the account. The parameters that are passed in the method modify the relevant fields, and the other fields remain unchanged.
Note: This method is also supported in our REST API. If you wish to execute this method from your server, please refer toREST API > ids.setAccountInfo.
The following table lists the available parameters:
|||profile||Profile object||The user's profile information as described in the Profile object. You may add to the predefined Gigya fields your own custom profile fields.|
|||data||JSON object||The custom data object to be set. Any data that you want to store regarding the user, which isn't part of the Profile object can be stored here.|
|||callback||function||A reference to a callback function. Gigya calls the specified function along with the results of the API method when the API method completes.|
The callback function should be defined with the following signature: functionName(response).