

Hook up your own application with The Machine's functionality.


This method let you edit the client with the given id.

You call this method with the following URL:


Parameters are the data you will pass with the call.



Rules: Required


The ID of the client.

Rules: Required.

name (optional)

The client's name.

Rules: Can only include numeric characters.


The client's email.

Rules: The email must be in a valid email format.

company (optional)

The client's company.

Rules: If this parameter is not specified it will use the client's name as a company.

address_line_01 (optional)

The client's address line 1.

Rules: None.

address_line_02 (optional)

The client's address line 2.

Rules: None.

city (optional)

The client's city.

Rules: None.

zip_code (optional)

The client's zip code.

Rules: None.

state (optional)

The client's state.

Rules: None.


The client's country.

Rules: Must be set to a supported country. Please see the list of supported countries.

get (optional)

If this parameter is set the result sent back will be the edited client in XML data rather than the success message.

Rules: If parameter is used it must be set to "true". Otherwise it will be ignored.

Return Values



Success: Client edited.

The client was successfully edited.

If you have set the get parameter to "true" you will rather get the edited client in XML sent back to you. Like this:

<method request="client.get">
        <name>Sample Contact</name>
        <email>[email protected]</email>
        <company>Sample Company, Inc.</company>
        <address_line_01>35181 Invoice Street</address_line_01>
        <address_line_02>Sample Company</address_line_02>
        <city>Invoice City</city>
        <country>United States</country>

Error: No data passed.

No data was passed to the method.

Error: API Token is invalid.

The API Token parameter is missing or is incorrectly entered.

Error: ID is invalid.

The ID parameter is missing or is incorrectly entered.

Error: Name is invalid.

The Name parameteris incorrectly entered.

Error: Email is invalid.

The Email parameter is incorrectly entered.

Error: Country is invalid.

The Country parameter is incorrectly entered.



<form action="" method="post">
    <input type="hidden" name="zip_code" value="44323">