younifyd
Menu

Update Customer Profile Audiences

Update multiple customer profiles' audiences

POST/v2/customer_audiences

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Update Customer Profile Audiences action (under integration).
  3. Fill in the fields below, then reference the result from later steps as {{updateCustomerProfileAudiences.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

dataarray<object>
actionstringrequired

Defines the action to perform: - `add`: Adds the customer profile to the audience. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `delete`: Removes the customer profile from the audience.

One ofadddelete

profileIntegrationIdstringrequired

The ID of this customer profile in the third-party integration.

audienceIdinteger (int64)required

The ID of the audience. You get it via the `id` property when [creating an audience](#tag/Audiences/operation/createAudienceV2).

json
{
  "data": [
    {
      "profileIntegrationId": "R195412",
      "action": "add",
      "audienceId": 748
    }
  ]
}

Response

Returns 204 with a any. Read it in later steps with {{updateCustomerProfileAudiences.response.data.<field>}}.

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.