Update Customer Properties

The properties have to be first defined in the web application, this endpoint only manipulates values of predefined properties via their slugs.

Request

PATCH /v2/customers/100/properties HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json; charset=UTF-8

[ {
  "op" : "replace",
  "value" : "Tesla",
  "path" : "/car"
}, {
  "op" : "remove",
  "path" : "/revenue"
} ]

Path Parameters

/v2/customers/{customerId}/properties

Request fields

Path Type Required Description
[].op String Y patch operation, one of replace, remove}
[].path String Y path to the property - it’s formed by the property slug and a leading slash
[].value Varies N property value - different property types expect different formats
Property type Format Example
number Integer 5
text String "green"
bool Boolean - true or false true
url Valid URL "https://google.com"
date Valid date 2019-01-02

Response

HTTP/1.1 204 No Content
Keep-Alive: timeout=60
Connection: keep-alive