Перейти к основному содержимому
Версия: 1.0.1

Customer Skills

Customer skills let agents manage customer records for billing and payment contexts.

customer.create

Create a new customer.

{
"skill": "customer.create",
"input": {
"name": "Acme Corporation",
"email": "billing@acme.com",
"tel": "+1-555-0100",
"address": "123 Main St, New York, NY 10001"
}
}

customer.search

Search customers by name or email.

{
"skill": "customer.search",
"input": {
"query": "Acme",
"page": 1,
"pageSize": 20
}
}

customer.update

Update customer details.

{
"skill": "customer.update",
"input": {
"customerId": 1,
"name": "Acme Corporation Inc.",
"email": "billing@acme.com"
}
}

customer.delete

Delete a customer.

{
"skill": "customer.delete",
"input": {
"customerId": 1
}
}