Skip to content

address object ​

Last updated View as Markdown

A customer address. It comes from customer.addresses, customer.default_address, customer.new_address and order.shipping_address.

Properties ​


NameTypeDescription
idstringThe address id. Nil for customer.new_address
first_namestringThe first name
last_namestringThe last name
namestringThe first and last name
companystringThe company
address1stringThe first address line
address2stringThe second address line
citystringThe city
provincestringThe region
zipstringThe zip code
country_codestringThe country code, for example MA
countrystringThe country name
phonestringThe phone number
defaultbooleanWhether this is the default address

The customer_address form uses other input names for some of these fields. See the form for the inputs.