Set User Attributes
Use this methode to save any app or user related data to the appmate database. This api accepts a (key, value) dictionary that allows you to set any kind of data to be used in the future proccesses.
#
RequestParameter Name | Type |
---|---|
userAttributes | [String : Any] |
- Swift
- Objective-C
PurchaseClient.shared.setUserAttributes(["userName": "john appleseed", "userEmail": "john@example.com"])
[[PurchaseClient shared] setUserAttributes: @{@"userName" : @"john appleseed", @"userEmail": @"john@example.com"}];