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.
orders:readGrant 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
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.