订阅邮件地址-SubscriptionMailingAddress 对象

表示订阅上的邮寄地址。

所需的访问

需要all_subscription_contracts或own_subscription_contracts范围。


在本页面


字段

  • address1[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    地址的第一行。通常是街道地址或邮政信箱号码。
  • address2[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    地址的第二行。通常是公寓,套房或单元的编号。
  • city[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    城市,地区,村庄或城镇的名称。
  • company[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    客户的公司或组织的名称。
  • country[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    国家的名字。
  • countryCode[CountryCode](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/countrycode)
    地址国家/地区的两个字母的代码。
    例如,美国。
  • firstName[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    客户的名字。
  • lastName[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    客户的姓氏。
  • name[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    客户的全名,基于firstName和lastName。
  • phone[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    客户的唯一电话号码。使用E.164标准进行格式化。例如,+16135551111
  • province[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    地址的区域,例如省,州或地区。
  • province[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    该区域的两个字母的代码。
    例如,ON。
  • zip[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    地址的邮政编码。


返回SubscriptionMailingAddress的类型

  • [SubscriptionDeliveryMethodShipping.address](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondeliverymethodshipping#address-2021-01)