---
title: "ShippingAddressInput"
description: "收件地址信息"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/inputs/shipping-address-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/inputs/shipping-address-input.md'
---
# ShippingAddressInput

收件地址信息

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

## Input Fields

* `zip`

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

  地址的邮政编码。

* `lastName`

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

  客户的姓氏

* `firstName`

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

  客户的名字

* `country`

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

  国家的名称。

* `province`

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

  地址的区域，例如省、州或地区。

* `phone`

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

  客户的唯一电话号码。使用 E.164 标准格式化。例如，+16135551111。

* `city`

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

  城市、地区、村庄或城镇的名称。

* `address2`

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

  地址的第二行。通常是公寓、套房或单元的编号。

* `address1`

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

  地址的第一行。通常是街道地址或邮政信箱号码。

* `company`

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

  客户公司或组织的名称。

## Argument from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/mutations/checkout-shipping-address-update.md).checkoutShippingAddressUpdate

## Input field from

* [CheckoutCreateInput](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/inputs/checkout-create-input.md).shippingAddress

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

