Skip to main content

Update Customer by lookup key

PATCH 

/customers/:lookupKey/:lookupValue

Use this endpoint to update customer by lookup key. If multiple customers with the same lookup key exist, use additional filtering depending on the lookup key to uniquely identify the customer (e.g. source and language for lookup key source).

Request

Path Parameters

    lookupKey stringrequired

    Lookup key. Read more about customer lookup keys

    lookupValue stringrequired

    The value of the key (id or sourceId)

Body

    abbreviation string
    dateOfBirth string
    debtorId number
    email string
    firstName string
    gender string
    lastName string
    middleName string
    mobile string

    parent

    object

    id number
    phone string
    primaryLanguage string
    source string
    sourceId number
    title string

Responses

Update Customer by lookup key - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • x-request-id

    string

Schema

    data

    object

    abbreviation string
    dateOfBirth string
    debtorId number
    email string
    firstName string
    gender string
    id number
    lastName string
    middleName string
    mobile string

    parent

    object

    id number
    phone string
    primaryLanguage string
    source string
    sourceId number
    title string
    messages string[]
    total number
Loading...