Skip to main content

Update Contact

PUT 

/contacts/:id

This endpoint updates the membership of an existing contact list by adding new members or removing existing ones.

  • Use the assignMembers array to add new members (with optional profile attributes such as name, tags, location, and purchase history).
  • Use the unAssignMembers array to remove members by email address.

If a workflow is associated with the contact list, adding new members will automatically trigger that workflow for the newly added contacts.

Request

Path Parameters

    id uuidrequired

    ID of the contact to update

Body

required
    assignMembers object[]

    Members to add in contact

  • Array [
  • email stringrequired
    firstName string
    lastName string
    source string
    birthday string
    tags string[]
    currency string
    country string
    province string
    city string
    address1 string
    address2 string
    phone string
    postalCode string
    company string
    lastPurchaseOrder string
    lastPurchasePrice string
    latestOrderId string
  • ]
  • unAssignMembers string[]

    Email of the members to be removed

Responses

Successful operation

Loading...