Creates a custom contact field with the provided name and data type.
1 |
POST https://api.maileon.com/1.0/contacts/fields/custom/:name |
Attributes
Parameter | Default | Description |
---|---|---|
type | string | string / integer / float / date / boolean |
Example
1 2 3 4 5 6 |
POST https://api.maileon.com/1.0/contacts/fields/custom/COLOR?type=string Authorization: Basic XXXXXXXXXXXXXXXXXXXX Accept: application/vnd.maileon.api+xml; charset=utf-8 Status: 201 Created .... |