---
title: CartDeliveryAddressInput - Storefront API
description: The input fields to create or update a cart address.
api_version: unstable
api_name: storefront
source_url:
  html: https://shopify.dev/docs/api/storefront/unstable/input-objects/CartDeliveryAddressInput
  md: https://shopify.dev/docs/api/storefront/unstable/input-objects/CartDeliveryAddressInput.md
---

# Cart​Delivery​Address​Input

input\_object

The input fields to create or update a cart address.

## Fields

* address1

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

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

* address2

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

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

* city

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

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

* company

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

  The name of the customer's company or organization.

* country​Code

  [Country​Code](https://shopify.dev/docs/api/storefront/unstable/enums/CountryCode)

  The name of the country.

* first​Name

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

  The first name of the customer.

* last​Name

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

  The last name of the customer.

* phone

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

  A unique phone number for the customer.

  Formatted using E.164 standard. For example, *+16135551111*.

* province​Code

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

  The region of the address, such as the province, state, or district.

* zip

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

  The zip or postal code of the address.

***

## Input objects using this input

* [Cart​Address​Input.deliveryAddress](https://shopify.dev/docs/api/storefront/unstable/input-objects/CartAddressInput#fields-deliveryAddress)

  INPUT OBJECT

  Specifies a delivery address for a cart. Provide either a [`deliveryAddress`](https://shopify.dev/docs/api/storefront/current/input-objects/CartAddressInput#fields-deliveryAddress) with full address details, or a [`copyFromCustomerAddressId`](https://shopify.dev/docs/api/storefront/current/input-objects/CartAddressInput#fields-copyFromCustomerAddressId) to copy from an existing customer address. Used by [`CartSelectableAddressInput`](https://shopify.dev/docs/api/storefront/current/input-objects/CartSelectableAddressInput) and [`CartSelectableAddressUpdateInput`](https://shopify.dev/docs/api/storefront/current/input-objects/CartSelectableAddressUpdateInput).

***

## Map

### Input objects using this input

* [Cart​Address​Input.deliveryAddress](https://shopify.dev/docs/api/storefront/unstable/input-objects/CartAddressInput#fields-deliveryAddress)