Create Address

Create a new shipping or billing address for a customer.

Overview

Create a new address for a customer. The address can be used for shipping physical products or as a billing address.

Example: A customer wants to add their office address for magazine delivery. Create an address with type=shipping and associate it with their subscription.


Conditional Requirements

ConditionRequired Fields
Alwayscustomer_id OR customer_old_provider_id
Alwaystype (shipping, billing, or account_primary)
Alwaysline1, country
country is CA, US, or AUstate
Account has AvaTax address validation enabled AND country is US or CApostal_code
is_default_updated=trueAccount must NOT have taxes enabled (cannot update subscription addresses when taxes enabled)
Both customer_id AND customer_old_provider_id are setMust reference the same customer
Customer is deletedRequest will fail

Related Endpoints

Language
Credentials
Click Try It! to start a request and see the response here!