Reply to customer
edesk_reply_to_ticketWRITE, CUSTOMER-VISIBLE: send a reply on a ticket. eDesk queues it for delivery to the marketplace or email channel, so it cannot be recalled once queued. The audience is the channel's default: on a Mirakl channel it is the channel's "Default messages recipients" setting (customer, operator or both), and this API cannot choose recipients (use the eDesk reply box when they matter). Only call this when the user has approved the exact text and audience. If the call fails in transit, the reply may still be queued: check the ticket before retrying. Use edesk_add_ticket_note for an internal note. POST /messages with type Message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The reply text the customer will receive. | |
| subject | No | Subject, for channels that use one (such as email). | |
| ticket_id | Yes | eDesk ticket id. |