Upsert customer profile
PUT {{integrationBaseUrl}}/segment/customer_profile/:customerProfileId
Note: We recommend you use the Upsert customer profile V2 endpoint.
Create or update the given customer profile, and creates or set the specified attributes. You can also use this endpoint to specify which audiences this customer has joined or left.Note: The audiences must be created first with Create audience.
Request Body
{"runRuleEngine"=>false, "audiencesChanges"=>{"adds"=>[1, 2, 3], "deletes"=>[4, 5, 6]}, "attributes"=>{"Language"=>"english", "ShippingCountry"=>"DE", "ProductClicked"=>true}, "attributesInfo"=>[{"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 |