Can I update User Traits via Tracking?

There are two ways to update user traits via Tracking API: 

  1. as part of the "Identify"- method
  2. with the "Update"- method (only regular tracking, not mobile tracking)

In both cases you only need to add the "traits"-array to the API call that includes all traits that need to get updated.

Excample:

{
	"xngGlobalUserId":"56409f54-aceb-48a3-91de-5fdc1d6e7aad",
    "userId":"kb_1",
	"type":"identify",
	"traits":{
		"bla":"blubb"
	}
}