Skip to main content
Glama
address.md1.68 kB
# Address An address object represents a customer or order shipping address in Shopify's Liquid API. ## Overview "Use the `format_address` filter to output an address according to its locale." ## Properties | Property | Type | Description | |----------|------|-------------| | `address1` | string | First line of the address | | `address2` | string | Second line (returns `nil` if not provided) | | `city` | string | City name | | `company` | string | Company name (returns `nil` if not provided) | | `country` | country | Country object | | `country_code` | string | ISO 3166-1 alpha-2 country code | | `first_name` | string | First name | | `id` | number | Address identifier | | `last_name` | string | Last name | | `name` | string | Combined first and last names | | `phone` | string | Phone number (returns `nil` if not provided) | | `province` | string | Province or state name | | `province_code` | string | ISO 3166-2 alpha-2 code (excludes country code) | | `street` | string | Combined first and second address lines | | `summary` | string | Formatted summary including name, address lines, city, province, country | | `url` | string | Relative URL for customer addresses only | | `zip` | string | Postal or zip code | ## Example ```json { "address1": "150 Elgin Street", "address2": "8th floor", "city": "Ottawa", "company": "Polina's Potions, LLC", "country_code": "CA", "id": 56174706753, "phone": "416-123-1234", "province": "Ontario", "province_code": "ON", "street": "150 Elgin Street, 8th floor", "summary": "150 Elgin Street, 8th floor, Ottawa, Ontario, Canada", "url": "/account/addresses/56174706753", "zip": "K2P 1L4" } ```

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server