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

Authorizations

apikey
string
header
required

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

Property data

Customer property model

Response

200
application/json

Update Customer Property

Customer property response model