Update a customer property value
PATCH/api/v1/workspaces/{slug}/customers/{customer_id}/property-values/{property_id}/
Update values for a specific property of a customer.
Path Parameters
customer_id:requiredstringCustomer id.
property_id:requiredstringProperty id.
slug:requiredstringSlug.
Body Parameters
values:requiredarrayArray of values for the property
Scopes
customers.property_values:write
Update a customer property value
bash
curl -X PATCH \
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440001/property-values/550e8400-e29b-41d4-a716-446655440001/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"values": [
"Example Name"
]
}'python
import requests
response = requests.patch(
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440001/property-values/550e8400-e29b-41d4-a716-446655440001/",
headers={"X-API-Key": "your-api-key"},
json={
"values": [
"Example Name"
]
}
)
print(response.status_code)javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440001/property-values/550e8400-e29b-41d4-a716-446655440001/",
{
method: "PATCH",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
values: ["Example Name"],
}),
}
);
console.log(response.status);Response204
No response body.

