Saf-t PT Suportado

InvoiceXpress API

users.change-account

Changes the current account to the account id submitted

You call this method by submitting a HTTP PUT request to the following URL :

https://:screen-name.invoicexpress.net/users/change-account.xml

Example xml to be submitted:

<?xml version="1.0" encoding="UTF-8"?>
<change_account_to>
 <id>1234</id>
</change_account_to>

Parameters

Parameters are the data you will pass with the call.

api_key

Your secret identifier. You find your API Key under Account Overview in the Account section.
Rules: Required

Return Values

This is the result that will be passed back to you.

Success

HTTP: 200 OK

Error

HTTP: 401 Access denied
The API Key parameter is missing or is incorrectly entered.
HTTP: 404 Not Found
Account not found
HTTP: 422 Unprocessable Entity
XML data is missing or elements wrongly named