Skip to navigation

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

HeaderArgumentDescription
AuthorizationBearer {{B2B_JWT_TOKEN}}You can obtain this token using the steps described in the REST Storefront API section[…]

Request

This endpoint expects an object.
quoteIdintegerRequired
The internal numeric ID of the sales quote.
emailstringRequiredformat: "email"
The buyer's email address.
ccTolist of stringsOptional
The list of emails to CC.
withAttachbooleanOptional
Indicates whether or not a quote PDF will be included with the email.
emailTemplateenumOptional
The template used to format the quote email.
emailLangenumOptional

The two-letter code for the language of the quote email and PDF, if included.

Response

OK
codeintegerOptionalDefaults to 200
HTTP Response Code
messagestringOptionalDefaults to SUCCESS
dataobjectOptional

Errors

400
Bad Request Error