---
title: "MailingAddress"
description: "Customer default address"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/mailing-address'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/mailing-address.md'
---
# MailingAddress

Customer default address

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`MailingAddress`

## Fields

* `address1`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Address 1

* `address2`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Address 2

* `city`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  City

* `cityCode`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  cityCode

* `company`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Company Name

* `country`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Country

* `countryCode`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Country code

* `district`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  district

* `districtCode`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  districtCode

* `firstName`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Name

* `id`

  [ID!](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Address ID

* `lastName`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Last name

* `name`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  User's Nickname

* `phone`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Telephone number

* `province`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Province

* `provinceCode`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Provincial encoding

* `zip`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Zip code

## Schema Definition

```graphql
type MailingAddress { 
	address1: String
	address2: String
	city: String
	cityCode: String
	company: String
	country: String
	countryCode: String
	district: String
	districtCode: String
	firstName: String
	id: ID!
	lastName: String
	name: String
	phone: String
	province: String
	provinceCode: String
	zip: String 
}
```

## Field from

* [Customer](https://developer.shopline.com/docs/storefront-api/customers/objects/customer.md).defaultAddress

  Default address information

* [CustomerAddressUpdatePayload](https://developer.shopline.com/docs/storefront-api/customers/objects/customer-address-update-payload.md).customerAddress

  Customer Address

* [AddressConnection](https://developer.shopline.com/docs/storefront-api/common-objects/objects/address-connection.md).nodes

  A list of nodes.

* [AddressEdge](https://developer.shopline.com/docs/storefront-api/common-objects/objects/address-edge.md).node

  Customer address node information

* [CustomerAddressCreatePayload](https://developer.shopline.com/docs/storefront-api/customers/objects/customer-address-create-payload.md).customerAddress

  Customer Address

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

