Update custom data configuration
Update custom data configuration
PATCH
Update custom data configuration
Updates the custom data settings. The template is validated for security (no includes, imports, or macros allowed) and HTML safety. Setting a new endpoint automatically disables the panel until template validation passes.
Authorizations
Body
application/json
API endpoint URL (must use HTTPS in production).
Maximum string length:
250Example:
"https://api.piedpiper.com/customer-data"
Custom HTTP headers (max 4096 chars when serialized).
Example:
{
"Authorization": "Bearer token123",
"X-API-Key": "key456"
}Jinja2 template for rendering (set to empty string to clear).
Maximum string length:
25000Example:
"<div class='customer'><h2>{{ customer.name }}</h2><p>{{ customer.email }}</p></div>"
Test email for template validation (set to empty string to clear).
Example:
"test@customer.com"
Response
Custom data configuration updated successfully.