Copied!
CloneableInstantiable
Methods
public __construct(PHPFUI\ConstantContact\Client $client)
public get(?int $limit = NULL) : ?array
 

GET custom_fields Collection

Get all custom fields defined in the user's account.

  • param int $limit Specifies the number of results displayed per page of output, from 1 - 100, default = 50.
public PHPFUI\ConstantContact\Base::getLastError() : string
public PHPFUI\ConstantContact\Base::getResponseText() : string
public PHPFUI\ConstantContact\Base::getStatusCode() : int
public getTyped(?int $limit = NULL) : ?PHPFUI\ConstantContact\Definition\CustomFields
public PHPFUI\ConstantContact\Base::next() : array
 

If the endpoint is paginated, you can call next() to retrieve the next set of data. If no next is provided, an empty array is returned.

  • return array filled with next part of the response from the endpoint, or empty if no next.
public post(PHPFUI\ConstantContact\Definition\CustomFieldRequest $body) : ?array
 

POST (create) a custom_field

Custom fields are extra data fields you create to store additional information about your contacts, such as preferences, membership levels, and interests. Use custom fields to organize contacts, send personalized email campaigns, and to identify a targeted audience for a specific campaign. Custom fields types include text, number, date, drop-down lists, radio buttons, and checkboxes. A user can configure up to 100 custom_fields in their account.

  • param \PHPFUI\ConstantContact\Definition\CustomFieldRequest $body The JSON payload required to create a new custom field.
public postTyped(PHPFUI\ConstantContact\Definition\CustomFieldRequest $body) : ?PHPFUI\ConstantContact\Definition\CustomField
public PHPFUI\ConstantContact\Base::success() : bool
Properties
protected PHPFUI\ConstantContact\Client PHPFUI\ConstantContact\Base::$client
protected string PHPFUI\ConstantContact\Base::$urlPath
Methods
protected PHPFUI\ConstantContact\Base::doDelete(array $parameters) : ?array
protected PHPFUI\ConstantContact\Base::doGet(array $parameters) : ?array
protected PHPFUI\ConstantContact\Base::doPatch(array $parameters) : ?array
protected PHPFUI\ConstantContact\Base::doPost(array $parameters) : ?array
protected PHPFUI\ConstantContact\Base::doPut(array $parameters) : ?array
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration