API Documentation

Beans_Customer_Update

Update a customer.


Parameters

auth_uid INTEGER The ID for your API key.
auth_key STRING The API key.
auth_expiration INTEGER Unique ID tied to your key; changes if you reset your key.
id INTEGER The ID of the Beans_Customer to update.
first_name STRING
last_name STRING
company_name STRING
email STRING
phone_number STRING
fax_number STRING
default_account_id INTEGER The ID of the AR Beans_Account to default to for sales.
default_shipping_address_id INTEGER The ID of the Beans_Customer_Address to use for shipping by default.
default_billing_address_id INTEGER The ID of the Beans_Customer_Address to use for billing by default.

Returns

customer OBJECT The updated Beans_Customer.