v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Quotes

Send a quote by email

This endpoint allows you to send a quote by email to your customer. This requires that the PDF file for that document has been generated (this process can take a few minutes), so if you just created the quote in our system, we may return a 409 error. You should retry the request in a few minutes - if you receive a 204 response, that means that the email is on its way. For more information about email sending, please read [this guide](https://pennylane.readme.io/v2.0/docs/sending-documents-by-email).

ℹ️ This endpoint requires the following scope: quotes:all

post/api/external/v2/quotes/{id}/send_by_email

Path parameters

idinteger required

Request body

recipientsstring[]

Email recipients.

If empty, the email will be sent to the recipient email addresses specified for the customer of this quote.

Example request

{
  "recipients": [
    "audit@company.com"
  ]
}

Response

Quote is being sent by email