The address object represents a physical address.

Properties:

id - Integer - Unique id for the address

first_name - String - First name

last_name - String - Last name

company_name - String - Represents the company name if it's a business address

street - String - Street number and name

street_two - String - Apartment/Building/Suite number

city - String - City

state - String - State or region code

postal_code - String - Postal code

country_code - String - Two-character country code

phone_number - String - Phone number to contact name on the address

primary_shipping - Boolean - When in the context of a customer address book this indicates if this address should be used as the default shipping address for future orders

primary_billing - Boolean - When in the context of a customer address book, this indicates if this address should be used as the default billing address for future orders

full_name - String - Helper method that combines the first and last names

full_street - String - Helper method that combines the street and street_two properties

city_state_postal_code - String - Helper method that combines the city, state and postal code fields as you typically see them in a U.S. address

Did this answer your question?