跳到主要内容
版本:202607

查询地址详情

GET 

/openapi/2026-07/customers/:customer_id/addresses/:address_id

通过地址 ID 获取指定地址的详细信息。

请求

Path参数

    customer_id string必填

    顾客 ID

    address_id string必填

    地址 ID

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    address object

    地址

    idstring

    地址的唯一标识

    customer_idstring

    顾客 ID

    first_namestring

    收件人的名

    last_namestring

    收件人的姓

    companystring

    公司名称

    citystring

    地址所在城市

    provincestring

    地址所在省份或州

    countrystring

    地址所在国家名称

    zipstring

    邮政编码

    province_codestring

    省份代码

    country_codestring

    ISO 国家代码

    genderstring

    收件人的性别

    phonestring

    与地址关联的电话号码

    phone_area_codestring

    电话号码的区号

    areastring

    地址所在区域或地区

    emailstring

    与地址关联的电子邮件

    namestring

    收件人的全名

    address1string

    地址1

    address2string

    地址2

    country_namestring

    国家全称

    defaultboolean

    是否为默认地址