客户
店铺的客户。
在上述上下文之外,若客户未登录其账户,customer object 将返回 nil。
| Properties | Type | Description |
|---|---|---|
id | string | 客户的 ID。 |
name | string | 客户的全名。 |
first_name | string | 客户的名字。 |
last_name | string | 客户的姓氏。 |
email | string | 客户的电子邮件。 |
phone | string | 客户的电话号码。 |
info | array | 客户下的所有订单。 |
orders_count | number | 客户已下订单的总数。 |
tags | string | 客户的 tag,仅在客户登录时显示。 |
{
"first_name": "Fashion",
"id": "81a4045d-ca0e-4fc9-8dad-3aa4ba8ef234",
"info": [],
"last_name": "Maker",
"name": "Fashion Maker",
"orders_count": 0,
"phone": "+441314960905",
"tags": "tag1,tag2"
}