Upsert customer profile V2
PUT {{integrationBaseUrl}}/segment/customer_profile_v2/:customerProfileId
Create or update the given customer profile, and also creates or set the specified attributes and audiences.
You do not have to create attributes or audiences before using this endpoint.
Request Body
{"attributes"=>{"Language"=>"english", "ShippingCountry"=>"DE", "ProductClicked\""=>true}, "runRuleEngine"=>false, "audiencesChanges"=>{"adds"=>[{"name"=>"Travel audience 18-25", "integrationId"=>"My_Travel_audience1"}, {"name"=>"Travel audience 18-25", "integrationId"=>"My_Travel_audience1"}], "deletes"=>[{"name"=>"Travel audience 18-25", "integrationId"=>"My_Travel_audience1"}, {"name"=>"Travel audience 18-25", "integrationId"=>"My_Travel_audience1"}]}, "attributesInfo"=>[{"name"=>"ProductClicked", "type"=>"boolean"}, {"name"=>"ProductClicked", "type"=>"boolean"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
destination-hostname | string | (Required) The base URL of your Talon.One deployment. | |
Content-Type | string | ||
Accept | string |