PUT
/
customer
/
{id}
/
properties
/
{propertyId}
Authorization
Path
Body
curl --request PUT \
  --url https://chat.zoko.io/v2/customer/{id}/properties/{propertyId} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <apikey>' \
  --data '{
  "description": "<string>",
  "messages": [
    "<string>"
  ],
  "priority": 123,
  "title": "<string>",
  "type": "text"
}'
{
  "description": "<string>",
  "entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "entityType": "customer",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "messages": [
    "<string>"
  ],
  "priority": 123,
  "title": "<string>",
  "type": "text"
}

Authorizations

apikey
string
headerrequired

Authentication is done via apikey provided for your account

Include the following in your request header

apikey: "your_apikey_here"

Path Parameters

id
string
required

ID of customer

propertyId
string
required

ID of property

Body

application/json
description
string

details on the property

messages
string[]

url(s) for type image, document and video. Text for type text

priority
integer

order in which it should be displayed on the web app

title
string
type
enum<string>

type of property

Available options:
text,
image,
document,
video

Response

200 - application/json
description
string
entityId
string
entityType
enum<string>
Available options:
customer
id
string
messages
string[]
priority
integer
title
string
type
enum<string>
Available options:
text,
image,
document,
video