Quote Tutorial

triangle-exclamation

How to configure the Quote Service

The Quote Service allows you to send email notifications to customers every time a new quote is created or updated by the customers themselves or by an employee on their behalf.

The following merchant information is necessary for the pdf file with quote to be generated:

  • merchantName

  • merchantAddress

    • merchantCity

    • merchantStreet

    • merchantStreetNo

    • merchantZipCode

circle-exclamation

Retrieve your site's mixins

First, you need to check the current site mixin configuration for the merchantInfo parameter by sending a request to the Retrieving site mixins endpoint.

circle-exclamation
circle-check
API Referencechevron-right

Update merchant information

Update the merchant information for your tenant's site by sending a request to the Partially updating a site mixin endpoint.

circle-exclamation
circle-check
API Referencechevron-right

Update available quote status change reasons

When a customer changes the quote status to DECLINED or IN_PROGRESS, or when an employee changes the quote status to DECLINED_BY_MERCHANT, they can provide a reason why they performed that action.

There are four default reasons that your customers and employees can select for the DECLINED or CHANGED quote statuses:

Quote status
Reason code

DECLINE

  • PRICE_TOO_HIGH

  • NO_LONGER_NEEDED

  • DELIVERY_TIME_LATE

  • OTHER

CHANGE

  • WRONG_MATERIAL

  • PROVIDED_PRICE_TO_HIGH

  • DELIVERY_TIME_LATE

  • OTHER

circle-exclamation

By sending a request to the Creating a reason for changing the quote status endpoint, you can create new quote status change reasons.

circle-check
API Referencechevron-right

How to manage quote requests

A quote request can be created both by a customer directly on your business' storefront, or by an employee on behalf of a customer.

Create a quote by a customer

On the storefront, a customer adds selected products to cart. At checkout, they can proceed to purchasing the items, or requesting a quote. If a customer places a quote request, the Creating a quote endpoint is called.

circle-exclamation

The customer can place a quote request on the storefront only if they have created a cart with the requested items beforehand.

circle-check
API Referencechevron-right
circle-exclamation

Create a quote on behalf of a customer

To create a quote request on behalf of a customer, you need to call the Creating a quote endpoint.

circle-exclamation
circle-check
API Referencechevron-right
circle-exclamation

Update a quote by an employee

There are two scenarios when an employee may need to update a quote:

  • A customer can contact your Customer Service so that an employee updates the quote request on their behalf

  • Employee updates the quote request with new information for the customer to review, such as price or status change

To achieve that, the employee needs to send a request to the Partially updating a quote endpoint.

circle-exclamation

In this example, an employee updates multiple fields:

circle-check
API Referencechevron-right

In the following example, an employee updates only the price of requested items:

circle-check
API Referencechevron-right

Accept a quote by a customer

When a customer accepts a quote on the storefront, the following endpoint is called: Partially updating a quote.

circle-exclamation
circle-check
API Referencechevron-right

Decline a quote by a customer

When a customer changes the quote status to DECLINED or IN_PROGRESS, or when an employee changes the quote status to DECLINED_BY_MERCHANT, they can provide a reason why they performed that action. On the storefront, when a customer declines the quote, a request to the following endpoint is sent: Partially updating a quote.

circle-exclamation

If the customer wants to provide a reason for declining a quote, they can choose one of the provided reasons from a list of available reasons and/or add comments.

In this example, a customer receives a quote and decides to decline it because the proposed price is too high. They also add a comment to negotiate the price.

circle-check
API Referencechevron-right

Last updated

Was this helpful?