sales-order-cases

Draft an Email from a Sales Order Case

The draft goes to the case contact, or else the customer's outreach address, from the user's default sender. It names the order by the customer's PO, else the sales order number. An early ship case's body lists the lines with their scheduled and new ship dates, for the user to edit before sending; other cases start with an empty line. Every body ends with an AI notice.

post/v2/sales-order-cases/{case_id}/emails

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

case_idstring required

Response

Successful Response

created_atstring date-time required
modified_atstring date-time nullable required
idstring required
subjectstring nullable required
snippetstring nullable required
fromstring nullable required
tostring[] required
ccstring[] required

List of CC email addresses

direction'inbound' | 'outbound' required
status'draft' | 'pending' | 'sending' | 'sent' | 'error' required
sent_atstring date-time nullable required

When the email was sent.

is_unreadboolean required
author_idstring nullable required
author_namestring nullable required
processing_status'processing' | 'completed' | 'failed' required
thread_idstring required
objectstring required

String representing the object's type. Objects of the same type share the same value.

Changes

No recorded changes to this operation across all 1 revision of this API.