-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #480 from ateuber/master
API: Add the possibility to change the email address of an existing list subscriber
- Loading branch information
Showing
2 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -335,3 +335,32 @@ | |
</p> | ||
|
||
<pre>curl -XGET '{{serviceUrl}}api/list/1?access_token={{accessToken}}'</pre> | ||
|
||
<h3>POST /api/changeemail/:listId – {{#translate}}Change email of existing list subscriber{{/translate}}</h3> | ||
|
||
<p> | ||
{{#translate}}This API call changes the email address of an existing list subscriber.{{/translate}} | ||
</p> | ||
|
||
<p> | ||
<strong>GET</strong> {{#translate}}arguments{{/translate}} | ||
</p> | ||
<ul> | ||
<li><strong>access_token</strong> – {{#translate}}your personal access token{{/translate}} | ||
</ul> | ||
|
||
<p> | ||
<strong>POST</strong> {{#translate}}arguments{{/translate}} | ||
</p> | ||
<ul> | ||
<li><strong>EMAILOLD</strong> – {{#translate}}subscriber's old email address{{/translate}} (<em>{{#translate}}required{{/translate}}</em>) | ||
<li><strong>EMAILNEW</strong> – {{#translate}}subscriber's new email address{{/translate}} (<em>{{#translate}}required{{/translate}}</em>) | ||
</ul> | ||
|
||
<p> | ||
<strong>{{#translate}}Example{{/translate}}</strong> | ||
</p> | ||
|
||
<pre>curl -XPOST {{serviceUrl}}api/changeemail/B16uVTdW?access_token={{accessToken}} \ | ||
--data '[email protected]&[email protected]'</pre> | ||
|