---
title: "ShippingAddress"
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/objects/shipping-address'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/shipping-address.md'
---
# ShippingAddress

行项目将运送到的运送地址。

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

## Type Signature

`ShippingAddress`

## Fields

* `zip`

  [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)

  国家的名称。

* `firstName`

  [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)

  客户的姓氏。

* `province`

  [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)

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

* `city`

  [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。

* `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)

  客户公司或组织的名称。

## Schema Definition

```graphql
type ShippingAddress { 
	zip: String
	country: String
	firstName: String
	lastName: String
	province: String
	address2: String
	city: String
	phone: String
	address1: String
	company: String 
}
```

## Field from

* [Checkout](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/objects/checkout.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)。

