kustomer API通过自定义字段获取客户请求
答
目前做到这一点的最好办法是通过添加自定义布尔字段给客户开始,然后发布到/v1/customers/search
{
"and": [{
"customer_custom_deletedBool": {
"equals": "true"
}
}],
"or": [],
"queryContext": "customer"
}
将返回所有被删除的客户。
或者
{
"and": [],
"or": [{
"customer_custom_deletedBool": {
"not_set": true
}
}, {
"customer_custom_deletedBool": {
"equals": "false"
}
}],
"queryContext": "customer"
}
将返回没有被删除的标志设置,或有deletedBool设置为false所有客户。