Recerc

Send a quote by email

Renders the quote PDF and emails it to a recipient while logging the delivery result.

POST/api/unstable/orders/{orderId}/send-quote

Renders the quote PDF and emails it to a recipient while logging the delivery result.

Request Body

application/json

orderId*string

Order identifier whose quote will be sent.

Example"ord_123"
recipientEmails*array<>

Recipient email addresses for the quote. The client can map comma-separated input into this array.

Example[ "buyer@acme.test", "purchasing@acme.test" ]
replyToEmail?string

Optional reply-to address for the quote email.

Example"seller@recerc.test"
subject?string

Optional email subject. When omitted, the server generates a default quote subject.

Example"Updated quotation for ACME"
body?string

Optional custom message body shown in the email above the quote summary.

Example"Hi team,\n\nPlease find the updated quote attached."
sendCopyToSender?boolean

Whether the current sender should be added in copy (CC) when their email is available.

Exampletrue
config?

Optional PDF rendering overrides for this email send.

Example{ "includeProductImages": true, "showSubtotals": true, "pageSize": "A4" }
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json