跳到主要内容

客户

店铺的客户。

在上述上下文之外,若客户未登录其账户,customer object 将返回 nil

PropertiesTypeDescription
idstring客户的 ID。
namestring客户的全名。
first_namestring客户的名字。
last_namestring客户的姓氏。
emailstring客户的电子邮件。
phonestring客户的电话号码。
infoarray客户下的所有订单。
orders_countnumber客户已下订单的总数。
tagsstring客户的 tag,仅在客户登录时显示。
{
"email": "[email protected]",
"first_name": "Fashion",
"id": "81a4045d-ca0e-4fc9-8dad-3aa4ba8ef234",
"info": [],
"last_name": "Maker",
"name": "Fashion Maker",
"orders_count": 0,
"phone": "+441314960905",
"tags": "tag1,tag2"
}