Update Account Info
/update
Arguments:
- token (required)
- email (optional)
- first_name (optional)
- last_name (optional)
- phone_number (optional)
- address (optional)
- city (optional)
- state (optional)
- zip (optional)
- sms_post_url (optional)
- web_hook_url (optional)
- smpp_password (optional)
- Info: Fix up stuff on your account. Send as many or as few of those * fields as you want. Fields not send will not get updated.
Example Success
{
"code": 200,
"status": "success",
"data": "successfully updated user"
}
Example Error
About the only way you'll have an error on this one is if you forget to pass something..
{
"code": 400,
"status": "error",
"data": "Missing variable: email"
}
Last modified 3yr ago