curl -X PATCH 'https://api.nuntly.com/contact-properties/ctpd_01kabn43yqyxn2bx4ve84mczd3' \ -H 'Authorization: Bearer ntly_xxx' \ -H 'Content-Type: application/json' \ -d '{"description":"The plan the customer is on."}'
import { Nuntly } from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'],
});
const response = await client.contactProperties.update('ctpd_01kabn43yqyxn2bx4ve84mczd3', {
description: 'The plan the customer is on.',
});
import com.nuntly.sdk.Nuntly;
import com.nuntly.sdk.ClientOptions;
import com.nuntly.sdk.models.*;
var nuntly = Nuntly.create(ClientOptions.builder()
.apiKey(System.getenv("NUNTLY_API_KEY"))
.build());
var response = nuntly.contactProperties().update("ctpd_01kabn43yqyxn2bx4ve84mczd3", UpdateContactPropertyRequest.builder()
.description("The plan the customer is on.")
.build());
import requests
url = "https://api.nuntly.com/contact-properties/{contactPropertyId}"
payload = {
"description": "The plan the customer is on.",
"defaultValue": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
curl -X PATCH 'https://api.nuntly.com/contact-properties/ctpd_01kabn43yqyxn2bx4ve84mczd3' \ -H 'Authorization: Bearer ntly_xxx' \ -H 'Content-Type: application/json' \ -d '{"description":"The plan the customer is on."}'
import { Nuntly } from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'],
});
const response = await client.contactProperties.update('ctpd_01kabn43yqyxn2bx4ve84mczd3', {
description: 'The plan the customer is on.',
});
import com.nuntly.sdk.Nuntly;
import com.nuntly.sdk.ClientOptions;
import com.nuntly.sdk.models.*;
var nuntly = Nuntly.create(ClientOptions.builder()
.apiKey(System.getenv("NUNTLY_API_KEY"))
.build());
var response = nuntly.contactProperties().update("ctpd_01kabn43yqyxn2bx4ve84mczd3", UpdateContactPropertyRequest.builder()
.description("The plan the customer is on.")
.build());
import requests
url = "https://api.nuntly.com/contact-properties/{contactPropertyId}"
payload = {
"description": "The plan the customer is on.",
"defaultValue": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)