跳到主要内容
版本:202201

查询顾客列表

GET 

/openapi/2022-01/customers

分页返回顾客列表。

请求

Query参数

    ids string

    ID 列表。

    limit int32

    Record count in every page, maximum: 250

    默认值: 10
    page int32

    Page number

    默认值: 1
    created_at_min string

    最早创建时间。

    created_at_max string

    最晚创建时间。

    updated_at_min string

    最早更新时间。

    updated_at_max string

    最晚更新时间。

    email string

    电子邮件地址。

    contact string

    联系方式类型。

响应

200

数据结构
    customers object[]
  • Array [
  • idstring
    示例: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    示例: ryan
    last_namestring
    示例: zhang
    namestring
    示例: ryan zhang
    emailstring
    phonestring
    示例: +8615014471143
    phone_area_code
    contact_typestring
    示例: email
    accepts_marketingboolean
    默认值: true
    示例: true
    source
    free_taxboolean
    默认值: true
    示例: false
    registeredboolean
    默认值: true
    示例: false
    orders_countinteger
    默认值: 0
    示例: 0
    last_order_at
    total_spentstring
    示例: 0.00
    tagsstring
    示例: New Customer
    created_atstring
    示例: 2024-04-17T11:10:33Z
    updated_atstring
    示例: 2024-04-17T11:10:33Z
    subscribed_flaginteger
    默认值: 0
    示例: 5
    sms_subscribed_flaginteger
    默认值: 0
    示例: 5
    accepts_sms_marketingboolean
    默认值: true
    示例: true
    default_address object
    idstring
    示例: 9ffa8dc0-25b8-4424-832e-bab46fcfeb20
    customer_idstring
    示例: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    示例: test
    last_namestring
    示例: test
    companystring
    示例:
    citystring
    示例: 深圳
    provincestring
    示例:
    countrystring
    示例: Aland lslands
    zipstring
    示例: 515300
    province_codestring
    示例:
    country_codestring
    示例: AX
    genderstring
    示例:
    phonestring
    示例: +86 150 1447 1143
    phone_area_code
    areastring
    示例:
    emailstring
    namestring
    示例: test test
    address1string
    示例: 6 三聖街
    address2string
    示例: 1111
    country_namestring
    示例: Aland lslands
    defaultboolean
    默认值: true
    示例: true
    addresses object[]
  • Array [
  • idstring
    示例: 9ffa8dc0-25b8-4424-832e-bab46fcfeb20
    customer_idstring
    示例: 2dd957e3-2051-4cdf-8584-9c0046b4d1ae
    first_namestring
    示例: test
    last_namestring
    示例: test
    companystring
    示例:
    citystring
    示例: 深圳
    provincestring
    示例:
    countrystring
    示例: Aland lslands
    zipstring
    示例: 515300
    province_codestring
    示例:
    country_codestring
    示例: AX
    genderstring
    示例:
    phonestring
    示例: +86 150 1447 1143
    phone_area_code
    areastring
    示例:
    emailstring
    namestring
    示例: test test
    address1string
    示例: 6 三聖街
    address2string
    示例: 1111
    country_namestring
    示例: Aland lslands
    defaultboolean
    默认值: true
    示例: true
  • ]
  • ]