customer-engagement
people
custom-attributes-lists

Update an item

Updates the fields of a list item that are passed in the request. Missing fields will keep their values. Returns all items of the updated list attribute.

patch/people/3/lists/{listName}/items/{itemId}

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

listNamestring required

Name of the list attribute.

itemIdstring required

UUID of the list item to update.

Query parameters

type'ID' | 'EXTERNAL_ID' | 'PHONE' | 'EMAIL' | 'LINE' | 'FACEBOOK' | 'TELEGRAM' | 'PUSH' | 'LIVE_CHAT' | 'VIBER_BOTS' | 'INSTAGRAM' | 'INSTAGRAM_DM' | 'TWITTER' | 'APPLE_BUSINESS_CHAT' | 'KAKAO_SANGDAM' | 'OPEN_CHANNEL' | 'ZALO_FOLLOWER' | 'TIKTOK_BM' | 'WHATSAPP' | 'KAKAO_TALK' required

Type of the person ID. Can be one of the above.

identifierstring required

Person ID. ID type must match the type parameter.

senderstring

Sender or application ID.sender is required for all identifier types except ID, EXTERNAL_ID, PHONE, EMAIL

Request body

object required

Item fields for update.<br>Can't be less than 1 and more than 128 fields.<br>If value of a field explicitly passed as NULL, it will delete a current value of the field.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.