-
Notifications
You must be signed in to change notification settings - Fork 36
Customer Address Create
Create a new customer address. If the customer has no default_billing_address_id or default_shipping_address_id, it will automatically be set to this new address.
-
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.
-
customer_id (required) INTEGER - The ID of the Beans_Customer this address belongs to.
-
first_name (required) STRING - If not provided, will copy from Beans_Customer.
-
last_name (required) STRING - If not provided, will copy from Beans_Customer.
-
company_name (optional) STRING - If not provided, will copy from Beans_Customer if exists.
-
address1 (required) STRING -
-
address2 (optional) STRING -
-
city (required) STRING -
-
state (optional) STRING -
-
zip (required) STRING -
-
country (required) STRING -
- address OBJECT - The resulting Beans_Customer_Address.