Skip to main content

sendQuoteEmailPostmark

Requires permission sales:quote:update.

Email a quote through Postmark with the quote PDF attached. Send To, Cc and Bcc lists of up to 20 addresses each; at least one To recipient is required. Every address is screened for deliverability before sending.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation SendQuoteEmailPostmark($input: SendQuoteEmailInput!) {
sendQuoteEmailPostmark(input: $input) {
emailActivityId
error
messageId
replyToAddress
success
}
}

Variables:

{
"input": {
"quoteId": "id"
}
}

Response:

{
"data": {
"sendQuoteEmailPostmark": {
"emailActivityId": "string",
"error": "string",
"messageId": "string",
"replyToAddress": "string",
"success": true
}
}
}
sendQuoteEmailPostmark(
input: SendQuoteEmailInput!
): SendQuoteEmailResult!

Arguments​

sendQuoteEmailPostmark.input ● SendQuoteEmailInput! non-null input​

The quote, its recipients and the message to send.

Type​

SendQuoteEmailResult object​

Result of sending a quote by email.