read
cs

The actions the CS agent proposed on customer threads — refunds, cancels, returns, replacements, discount codes, order n

Changed on

The actions the CS agent proposed on customer threads — refunds, cancels, returns, replacements, discount codes, order notes — newest first, each with its state as the inbox shows it (awaiting approval, processing, parked after a failed attempt, done, closed), the amount the store's policy bound into it, the order, and whether it came from the agent or from an app (source), and who approved it: approved_by is the person whose authority it was, approved_via is user:<id> when that person pressed it or the app (app:<client>) that approved it under their grant. An awaiting one can be approved or rejected, and a parked one retried or rejected, by its evaluation_id. Paginated: pass page.next_cursor back as cursor while page.has_more is true.

post/api/v1/tools/cs_actions_list

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescs:read

Request body

object required
states, string[]

Only these states.

thread_id, string uuid

Only this thread.

limit, integer
cursor, string

The page.next_cursor of the previous page.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision