Address
Address is a content type which represents a physical address. For both order billing and shipping addresses, the Address content type is returned.
List of available attributes
- address1
- address2
- city
- company_name
- country
- country_code
- delivery_method_code
- delivery_method_external_code
- full_location
- instructions
- name
- phone
- pod_name
- state
- vat_code
- zip_code
address1
Returns first address line.address2
Returns second address line.
city
Returns city.
country
Returns country name if country_code is not "null".
country_code
Returns country code.
company_name
Returns company name.
delivery_method_code
Returns delivery method code, when a built-in shipping method is selected. One of “ominva_pup”, “itella_pup” or “dpd_pup”.
delivery_method_external_code
Returns pick-up point external code when a built-in shipping method is selected. For example with Omniva, it's PUPs zip code.full_location
Returns full address as a string, which includes: address1, address2, zip_code (if not null), city (if not null), state (if not null), country_code (if not null).
instructions
Returns delivery instructions.
name
Returns customer name.
phone
Returns phone.pod_name
Returns pick up points name when a built-in shipping method is selected.
state
Returns state.vat_code
Returns VAT code.zip_code
Returns zip-code.