---
title: CustomerAddressInput - Customer API
description: The input fields to create or update a mailing address.
api_version: unstable
api_name: customer
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/unstable/input-objects/CustomerAddressInput
  md: >-
    https://shopify.dev/docs/api/customer/unstable/input-objects/CustomerAddressInput.md
---

# Customer​Address​Input

input\_object

The input fields to create or update a mailing address.

## Fields

* address1

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The first line of the address. Typically the street address or PO Box number.

* address2

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The second line of the address. Typically the apartment, suite, or unit number.

* city

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The name of the city, district, village, or town.

* company

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The name of the customer's company or organization.

* first​Name

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The first name of the customer.

* last​Name

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The last name of the customer.

* phone​Number

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The customer's unique phone number, formatted using E.164 standard. For example, *+16135551111*.

* territory​Code

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The country code, in ISO 3166-1 format. Accepts either a two-letter [alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), a three-letter [alpha-3 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3), or a three-digit [numeric code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric). For example, `US`, `USA`, or `840` represents the United States.

* zip

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The zip or postal code of the address.

* zone​Code

  [String](https://shopify.dev/docs/api/customer/unstable/scalars/String)

  The alphanumeric code for the region of the address, such as the province, state, or district. For example, 'ON' for Ontario, Canada.

***

## Input objects using this input

* [Subscription​Delivery​Method​Local​Delivery​Input.deliveryAddress](https://shopify.dev/docs/api/customer/unstable/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#fields-deliveryAddress)

  INPUT OBJECT

  The input fields for a local delivery method.

* [Subscription​Delivery​Method​Shipping​Input.shippingAddress](https://shopify.dev/docs/api/customer/unstable/input-objects/SubscriptionDeliveryMethodShippingInput#fields-shippingAddress)

  INPUT OBJECT

  The input fields for a shipping delivery method.

***

## Map

### Input objects using this input

* [Subscription​Delivery​Method​Local​Delivery​Input.deliveryAddress](https://shopify.dev/docs/api/customer/unstable/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#fields-deliveryAddress)
* [Subscription​Delivery​Method​Shipping​Input.shippingAddress](https://shopify.dev/docs/api/customer/unstable/input-objects/SubscriptionDeliveryMethodShippingInput#fields-shippingAddress)
