Skip to main content

List Sales Order Support Tickets

GET 

/api/sales-orders/:salesOrder/support-tickets

Gorgias tickets linked to the sales order, newest first, and whether Gorgias is connected (connected: false means no tickets can be linked). Tickets link automatically when an agent or Gorgias AI Agent cancels or holds the order from Gorgias.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Each ticket: id (link id), provider, ticket_id, url (opens the ticket in Gorgias), subject, status (the Gorgias ticket status, e.g. open / closed), opened_at (when the ticket was opened in Gorgias), source (cancel, hold, lookup, manual), linked_at (when it was linked; created_at is the same value). Status and opened date are refreshed from Gorgias for the 10 newest tickets on each call; when Gorgias does not answer in time the last known values are returned.

Requires sales_orders.show.

Request​

Responses​

OK

Response Headers
    Content-Type