ackDB
Create a trait definition
Creates a new trait definition. Use this to register custom traits beyond the defaults provided by source definitions. If the trait already exists, it will be updated.
post/api/v1/ackdb/schemas/traits
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Request body
Example request
{
"traitKey": "custom_health_score",
"valueType": "number",
"source": "custom",
"description": "Overall account health score (0-100)"
}Response
Trait definition created
Example response
{
"data": {
"traitKey": "stripe_plan",
"valueType": "number",
"source": "stripe",
"description": "Monthly recurring revenue in cents from Stripe"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.