Skip to content

Vendor Address Create

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

Beans_Vendor_Address_Create

Create a new vendor remit address. If the vendor has no default_remit_address_id, it will automatically be set to this new address.


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.

  • vendor_id (required) INTEGER - The ID of the Beans_Vendor this address belongs to.

  • first_name (required) STRING - If not provided, will copy from Beans_Vendor.

  • last_name (required) STRING - If not provided, will copy from Beans_Vendor.

  • company_name (optional) STRING - If not provided, will copy from Beans_Vendor if exists.

  • address1 (required) STRING -

  • address2 (optional) STRING -

  • city (required) STRING -

  • state (optional) STRING -

  • zip (required) STRING -

  • country (required) STRING -


Returns

  • address OBJECT - The resulting Beans_Vendor_Address.
Clone this wiki locally