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

# CustomerAddressInput

input\_object

The input fields to create or update a mailing address.

## Fields

* address1

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

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

* address2

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

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

* city

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

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

* company

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

  The name of the customer's company or organization.

* countryCode

  [CountryCode](https://shopify.dev/docs/api/customer/latest/enums/CountryCode)

  The two-letter code for the country of the address.

* firstName

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

  The first name of the customer.

* lastName

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

  The last name of the customer.

* phoneNumber

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

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

* zip

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

  The zip or postal code of the address.

* zoneCode

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

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

* territoryCode

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

  Deprecated

***

## Mutations using this input

* [customerAddressCreate.address](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressCreate#arguments-address)

  ARGUMENT

* [customerAddressUpdate.address](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressUpdate#arguments-address)

  ARGUMENT

* [subscriptionContractFetchDeliveryOptions.address](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractFetchDeliveryOptions#arguments-address)

  ARGUMENT

***

## Input objects using this input

* [SubscriptionDeliveryMethodLocalDeliveryInput.deliveryAddress](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#fields-deliveryAddress)

  INPUT OBJECT

  The input fields for a local delivery method.

* [SubscriptionDeliveryMethodShippingInput.shippingAddress](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodShippingInput#fields-shippingAddress)

  INPUT OBJECT

  The input fields for a shipping delivery method.

***

## Map

### Mutations using this input

* [customerAddressCreate.address](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressCreate#arguments-address)
* [customerAddressUpdate.address](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressUpdate#arguments-address)
* [subscriptionContractFetchDeliveryOptions.address](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractFetchDeliveryOptions#arguments-address)

### Input objects using this input

* [SubscriptionDeliveryMethodLocalDeliveryInput.deliveryAddress](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#fields-deliveryAddress)
* [SubscriptionDeliveryMethodShippingInput.shippingAddress](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodShippingInput#fields-shippingAddress)
