curl --request PATCH \
--url https://api.getfernand.com/organization/custom-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123",
"X-API-Key": "key456"
},
"template": "<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>",
"test_email": "test@customer.com"
}
EOF{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123"
},
"template": "<div>{{ customer.name }}</div>",
"test_email": "test@customer.com",
"is_enabled": true
}curl --request PATCH \
--url https://api.getfernand.com/organization/custom-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123",
"X-API-Key": "key456"
},
"template": "<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>",
"test_email": "test@customer.com"
}
EOF{
"endpoint": "https://api.piedpiper.com/customer-data",
"headers": {
"Authorization": "Bearer token123"
},
"template": "<div>{{ customer.name }}</div>",
"test_email": "test@customer.com",
"is_enabled": true
}API endpoint URL (must use HTTPS in production).
250"https://api.piedpiper.com/customer-data"
Custom HTTP headers (max 4096 chars when serialized).
Show child attributes
{
"Authorization": "Bearer token123",
"X-API-Key": "key456"
}Jinja2 template for rendering (set to empty string to clear).
25000"<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>"
Test email for template validation (set to empty string to clear).
"test@customer.com"
Custom data configuration updated successfully.
Was this page helpful?