sendQuoteReply
Requires permission sales:quote:update.
Send a reply to a customer's email on a quote. The email being replied to is required; the recipient defaults to the original sender and the subject to Re: followed by the original subject.
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 SendQuoteReply($input: SendQuoteReplyInput!) {
sendQuoteReply(input: $input) {
emailActivityId
error
messageId
replyToAddress
success
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation SendQuoteReply($input: SendQuoteReplyInput!) {\n sendQuoteReply(input: $input) {\n emailActivityId\n error\n messageId\n replyToAddress\n success\n }\n}",
"variables": {
"input": {
"body": "string",
"inReplyToActivityId": "id",
"quoteId": "id"
}
}
}
EOF
Variables:
{
"input": {
"body": "string",
"inReplyToActivityId": "id",
"quoteId": "id"
}
}
Response:
{
"data": {
"sendQuoteReply": {
"emailActivityId": "string",
"error": "string",
"messageId": "string",
"replyToAddress": "string",
"success": true
}
}
}
sendQuoteReply(
input: SendQuoteReplyInput!
): SendQuoteEmailResult!
Arguments
sendQuoteReply.input ● SendQuoteReplyInput! non-null input
The reply to send.
Type
SendQuoteEmailResult object
Result of sending a quote by email.