Update Profile

Update a user profile in Mixpanel.

Options

Field Definition Type Required

Update Empty Fields?

Option to update fields in a user profile that contain null values; if No is selected, empty fields will remain as is when a customer profile is updated.

Dropdown TRUE

Due to limitations to the Mixpanel API, you can use the Update Profile action card to make a maximum of 400 requests per hour.

Input

Field Definition Type Required

Profile

Profile ID

User profile's unique identifier; equivalent to the Mixpanel distinct_id field.

Text TRUE

IP Address

User's IP address

Text FALSE

Time

User's time zone

Date & Time FALSE

Refresh Updated At?

Indicates whether to refresh the date and time values in the Updated At? field to when the profile was last updated.

Date & Time FALSE

Properties

Avatar

User's avatar; URL resource of a .gif, .jpg, .jpeg, or .png image file to update the profile picture in a profile.

Text FALSE

Name

Name of the user. Text FALSE

First Name

User's first name

Text FALSE

Last Name

User's last name

Text FALSE

Created

Date and time when the object was created. Date & Time FALSE

Email

User's email address

Text FALSE

Phone

User's phone number

Text FALSE

This card supports dynamic fields. To add fields to this card, click the empty field at the bottom of the input field list under Click or drop here to create. To reorder fields, select Edit card from the Options menu and drag fields to their new location.

If new fields are included in this card for a profile, they will be added to the Mixpanel profile as custom properties.

Output

Field Definition Type

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number