v1
latestOpenAPI 3.0.02026-07-2612645160.3 KBTicket
Update the amount of a ticket
Updates the amount of the active ticket, or the latest closed ticket if allow_closed_ticket is true. Provide ticket_id, ai_contact_id, or contact_number to identify the ticket. currency is required for price-source tickets and ignored for metadata-source tickets. For email contacts always provide ticket_id: their tickets are per-thread, so resolution by ai_contact_id or contact_number may return no ticket or one from a different thread.
post/api/public/ticket/amount
Headers
x-api-keystring required
API key needed to authorize the request
Request body
Example request
{
"contact_number": "+56912345678",
"amount": 150000,
"currency": "CLP"
}Response
Ticket amount updated successfully