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:
- GraphQL
- cURL
mutation SendQuoteEmailDurable($quoteId: String!, $recipient: String!) {
sendQuoteEmailDurable(quoteId: $quoteId, recipient: $recipient)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation SendQuoteEmailDurable($quoteId: String!, $recipient: String!) {\n sendQuoteEmailDurable(quoteId: $quoteId, recipient: $recipient)\n}",
"variables": {
"quoteId": "string",
"recipient": "string"
}
}
EOF
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.