【发布时间】:2019-08-27 13:12:54
【问题描述】:
我可以检索客户的
有一个当前客户 API - https://developer.bigcommerce.com/api-docs/customers/current-customer-api,但它只返回有关客户的以下位。
"customer": {
"id": 4927,
"email": "john.doe@gmail.com",
"group_id": "6"
}
我真的希望能够从 https://developer.bigcommerce.com/api-reference/customer-subscribers/v3-customers-api/customer-attributes/customersattributesget 作为 current-customer-api 的有效负载属性
/customer/current.jwt?app_client_id={appClientId}&attribute-ids:in=1,2,3
"customer": {
"id": 4927,
"email": "john.doe@gmail.com",
"group_id": "6"
"attributes": [
{
"id": 1,
"name": "Age",
"type": "string",
"date_created": "2018-11-13T21:42:06Z",
"date_modified": "2018-11-14T16:46:23Z"
},
{
"id": 2,
"name": "Shoe Size",
"type": "number",
"date_created": "2018-11-14T16:34:57Z",
"date_modified": "2018-11-14T16:34:57Z"
},
{
"id": 3,
"name": "Date Joined",
"type": "date",
"date_created": "2019-02-19T19:13:21Z",
"date_modified": "2019-02-19T19:13:21Z"
}
]
}
【问题讨论】:
标签: bigcommerce