获取顾客详情
GET /openapi/2023-10/customers/{id}
权限:read_customers
REST参数
参数名
说明
必填
值可能性
示例
id
顾客ID
是
[string]
1
示例响应内容
{
"ID": 177,
"user_login": "test@test.com",
"user_nickname": "See",
"user_email": "test@test.com",
"user_registered": "2021-08-13 20:29:37",
"user_status": 2,
"display_name": "See W",
"first_name": "See",
"last_name": "W",
"phone": "210 2345 6789",
"type": "unregistered",
"country": "CN",
"subscribed": false,
"address_book": [
{
"first_name": "See",
"last_name": "W",
"city": "City",
"address_1": "Back Street",
"address_2": "No.123",
"country": "CN",
"state": "State",
"postcode": "350000",
"phone": "210 2345 6789",
"state_name": "State Name",
"default": true,
"id": "611b580559d22"
}
],
"billing_address": {
"country": "CN",
"first_name": "See",
"last_name": "W",
"city": "City",
"address_1": "Back Street",
"address_2": "No.123",
"state": "State",
"postcode": "350000",
"phone": "210 2345 6789",
"state_name": "State Name"
},
"shipping_address": {
"first_name": "See",
"last_name": "W",
"city": "City",
"address_1": "Back Street",
"address_2": "No.123",
"country": "CN",
"state": "State",
"postcode": "350000",
"phone": "210 2345 6789",
"state_name": "State Name"
},
"order_count": "4",
"order_total": "769.51",
"billing_country": null
}
Last updated