younifyd
Menu

Update Customer Profiles V2

Update multiple customer profiles

PUT/v2/customer_profiles

Use it in a workflow

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

Request

Query parameters

silentstring

Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.

Default "yes"

Request body

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

customerProfilesarray<object>
attributesobject

Arbitrary properties associated with this item.

integrationIdstringrequired

The identifier of this profile, set by your integration layer. It must be unique within the account. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2).

json
{
  "customerProfiles": [
    {
      "integrationId": "R195412",
      "attributes": {
        "Language": "english",
        "ShippingCountry": "DE"
      }
    }
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{updateCustomerProfilesV2.response.data.<field>}}.

integrationStatesarray<object>
customerProfileobjectrequired11 fields
json
{
  "integrationStates": [
    {
      "customerProfile": {
        "accountId": 31,
        "closedSessions": 3,
        "created": {},
        "sandbox": false,
        "integrationId": "URNGV8294NV",
        "attributes": {
          "Language": "english",
          "ShippingCountry": "DE"
        },
        "totalSales": 299.99,
        "lastActivity": {},
        "id": 6,
        "loyaltyMemberships": [
          {
            "joined": {},
            "loyaltyProgramId": 323414846
          },
          {
            "joined": {},
            "loyaltyProgramId": 323414846
          }
        ],
        "audienceMemberships": [
          {
            "name": "Travel audience",
            "id": 2
          },
          {
            "name": "Travel audience",
            "id": 2
          }
        ]
      }
    }
  ]
}

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

Update Customer Profiles V2 — Talon.One — Documentation