Skip to main content

sendQuoteEmailDurable

Requires permission sales:quote:update.

Enqueue a quote email onto the durable delivery pipeline (PDF render + send happen in the background worker with retry/backoff) instead of sending inline.

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 SendQuoteEmailDurable($quoteId: String!, $recipient: String!) {
sendQuoteEmailDurable(quoteId: $quoteId, recipient: $recipient)
}

Variables:

{
"quoteId": "string",
"recipient": "string"
}

Response:

{
"data": {
"sendQuoteEmailDurable": true
}
}
sendQuoteEmailDurable(
customMessage: String
quoteId: String!
recipient: String!
): Boolean!

Arguments​

sendQuoteEmailDurable.customMessage ● String scalar​

A message to include in the email body.

sendQuoteEmailDurable.quoteId ● String! non-null scalar​

The ID of the quote to email.

sendQuoteEmailDurable.recipient ● String! non-null scalar​

The recipient's email address.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.