v2

latestSwagger 2.02026-08-01139174369.1 KB
Email

Sends a Sales Invoice email. If "toAddress" is not empty then email will be sent to this address. Otherwise email will be sent to Sales Invoice Customer's address.

post/v1/email/sendSalesInvoice

Request body

salesInvoiceIdinteger
toAddressstring
bccAddressesstring[]
messageBodystring

Example request

{
  "salesInvoiceId": 1,
  "toAddress": "to@email.com",
  "bccAddresses": [
    "bcc1@email.com",
    "bcc2@email.com",
    "bcc3@email.com"
  ],
  "messageBody": "Email message"
}

Response

OK

object required