Update a ticket
ticket_updateChange a ticket: status (open, pending = waiting on the customer, resolved), priority (its SLA targets follow), category, subject, tags, custom fields, the bot it is assigned to ("me", another bot's name, or "" for nobody) and the CRM contact or company it is about (0 unlinks). Resolving emails the requester a satisfaction survey when the settings ask for one; ask_rating true or false decides for this call (true also works on a ticket already resolved). Costs $0.01 per call; nothing if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Custom fields like {"order_id": "1042"}, merged into the ticket's fields; null removes one. | |
| number | Yes | The ticket number, e.g. 42 for ticket #42. | |
| status | No | ||
| subject | No | ||
| add_tags | No | Short labels like "refund" or "vip" (kept lower-case, spaces become dashes). | |
| category | No | ||
| priority | No | ||
| assign_to | No | ||
| ask_rating | No | ||
| company_id | No | ||
| contact_id | No | ||
| remove_tags | No | Short labels like "refund" or "vip" (kept lower-case, spaces become dashes). |