Send Quote Email
Sends a quote email to the specified email address.
The email address in the `email` field must correspond with the buyer's email address on the quote. However, you can use the `ccTo` field to include additional recipients.
Equivalent Storefront GraphQL API Query: `quoteEmail`.
### Quote Email Templates
The request uses the `emailTemplate` field to format the quote contents with one of the pre-built quote email templates. You must enter the exact name of the template in the field.
The following email templates can be used:
* `Default with Checkout Button`
* `Simple with Pictures`
* `Waves with Pictures`
* `Database with checkout button`
* `Modern with checkout link`
* `Modern without checkout link`
The selected template applies to the quote PDF if `withAttach` is specified as `true`.
Authentication
AuthorizationBearer
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
|`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| You can obtain this token using the steps described in the [REST Storefront API](/developer/docs/b2b-edition/getting-started/authentication#rest-storefront-api) section[...]
Request
This endpoint expects an object.
quoteId
The internal numeric ID of the sales quote.
email
The buyer's email address.
ccTo
The list of emails to CC.
withAttach
Indicates whether or not a quote PDF will be included with the email.
emailTemplate
The template used to format the quote email.
emailLang
The two-letter code for the language of the quote email and PDF, if included.
Response
OK
code
HTTP Response Code
data
message
Errors
400
Bad Request Error