Sunnysideup\CampaignMonitor\Api\Traits\Lists::createCustomField
Creates custom field for list.
Signature
public function createCustomField(string
$listID,
mixed
$visible,
string
$type,
string
$title,
[array
$options = ] )
Parameters
$listID
— string- - list ID
$visible
— mixed$type
— string- - type of custom field
$title
— string- - field type
$options
— array- - options for dropdown field type
Returns
- mixed
- A successful response will be the key of the newly created custom field