add_customer_custom_attributes
Add custom attributes to ChartMogul customers to track specific data like marketing channels, customer segments, or behavioral metrics using structured types including strings, numbers, dates, and booleans.
Instructions
[ChartMogul API] Add custom attributes to customer. Each attribute needs: type (string: "String", "Integer", "Decimal", "Timestamp", "Boolean"), key (string: alphanumeric + underscores), value (matching type), optional source (string: defaults to "API"). Provide as array of attribute objects. Custom types details: String (max 255 characters), Integer (numeric only), Decimal (floating point), Timestamp (ISO 8601 format), Boolean (TRUE/true/t/1/FALSE/false/f/0). Returns updated custom attributes. REQUIRED: uuid (string: customer UUID), custom_attributes (array: objects like [{"type": "String", "key": "channel", "value": "Facebook", "source": "integration"}])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | ||
| custom_attributes | Yes |