Add doc page for addList method
[MAILPOET-2035]
This commit is contained in:
committed by
M. Shull
parent
22ee0964bd
commit
75feb900bd
19
doc/api_methods/AddList.md
Normal file
19
doc/api_methods/AddList.md
Normal file
@@ -0,0 +1,19 @@
|
||||
[back to list](../Readme.md)
|
||||
|
||||
# Add Subscriber
|
||||
|
||||
## `array addList(array $list)`
|
||||
|
||||
In MailPoet, subscribers are organized into lists. This method provides functionality for creating a new list.
|
||||
|
||||
It returns the new list. See [Get Lists](GetLists.md) for a list data structure description.
|
||||
|
||||
## Arguments
|
||||
### `$list` (required)
|
||||
|
||||
An associative array which contains list data.
|
||||
|
||||
| Property | Type | Limits | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| name (required) | string | 90 chars | A name of the list. |
|
||||
| description (optional) | string\|null| 250 chars | A description of the list. |
|
Reference in New Issue
Block a user