Skip to content
Sean Callan edited this page Jun 9, 2020 · 1 revision

Beans_Customer_Update

Update a customer.


Parameters

  • auth_uid (required) INTEGER - The ID for your API key.

  • auth_key (required) STRING - The API key.

  • auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.

  • id (required) INTEGER - The ID of the Beans_Customer to update.

  • first_name (optional) STRING -

  • last_name (optional) STRING -

  • company_name (optional) STRING -

  • email (optional) STRING -

  • phone_number (optional) STRING -

  • fax_number (optional) STRING -

  • default_account_id (optional) INTEGER - The ID of the AR Beans_Account to default to for sales.

  • default_shipping_address_id (optional) INTEGER - The ID of the Beans_Customer_Address to use for shipping by default.

  • default_billing_address_id (optional) INTEGER - The ID of the Beans_Customer_Address to use for billing by default.


Returns

  • customer OBJECT - The updated Beans_Customer.
Clone this wiki locally