User Meta Data

Get MetaData For User#

Use the below method to get your own metaData.

await SDK.getMetaData();

Example Response#

{
statusCode: 200,
message: "Data Retrieved Successfully",
metaData:
{
type:"test",
phone:"1234567890"
}
}

Update MetaData For User#

Use the below method to update your own metaData.

await SDK.updateMetaData(`Update_MetaData`);

Request Param#

StatusDescriptionTypeRequired
Update_MetaDataUpdate_MetaData is an optional parameter to update MetaData of user. Maximum size is 3Objectfalse

Request Input for Update_MetaData#

ArgumentsDescriptionType
keyName of the KeyString
valueName of the valueString or Boolean or Number

Example Response#

{
statusCode: 200,
message: "User Successfully Updated",
metaData:
{
method:"update"
}
}
note

You didn't pass param (Update_MetaData) to updateMetaData SDK method, it should be considered as a null and updated user MetaData as a null.