v1
latestOpenAPI 3.1.02026-08-061945115.8 KBProfile
Update profile
Update user profile information
patch/api/v2/server-side-api/profile/
Headers
adapty-customer-user-idstring
The unique ID of the customer in your system. Either adapty-customer-user-id or adapty-profile-id is required.
adapty-profile-idstring
The unique ID of the profile in your system. Your best option if you are working with anonymous profiles. Either adapty-customer-user-id or adapty-profile-id is required.
Request body
Example request
{
"first_name": "Jane",
"last_name": "Doe",
"gender": "f",
"email": "jane.doe@example.com",
"phone_number": "+1234567890",
"birthday": "2000-12-31",
"ip_country": "FR",
"ip_v4_address": "192.168.1.1",
"store_country": "US",
"store": "app_store",
"store_account_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"att_status": 3,
"analytics_disabled": true,
"custom_attributes": [
{
"key": "favourite_sport",
"value": "yoga"
}
],
"installation_meta": {
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device": "iPhone 15 Pro",
"locale": "en",
"os": "iOS 17.1",
"platform": "iOS",
"timezone": "Europe/Rome",
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Mobile/15E148 Safari/604.1",
"app_build": "1.0.0",
"app_version": "1.0.0",
"adapty_sdk_version": "2.0.0",
"idfa": "EA7583CD-A667-48BC-B806-42ECB2B48333",
"idfv": "E9D48DA5-3930-4B41-8521-D953AECD2F33",
"advertising_id": "",
"android_id": "",
"android_app_set_id": ""
}
}Response
Profile updated successfully