Update Quote
Updates an existing quote based on the details provided in the request body.
Before using this endpoint to update a quote, review the following considerations:
- None of the fields in the body are required for a successful response. This means that you can use this endpoint to update a single field or a subset of fields.
- When adding or updating line items, you must include all existing line items that you want to keep in the quote. Omitting existing line items from a quote will remove them from the quote when you send the request.
- If you add products or change discounts, you must also update the
grandTotalandsubtotalfields to reflect the new totals. - You cannot use this endpoint to change the sales rep or Company account assigned to an existing quote.
- To update a quote’s shipping rate, use the Select a Shipping Rate for a Quote endpoint.
See Create a Quote for experience- and setting-specific requirements related to adding custom shipping or non-purchasable products to a quote.
Archiving a quote
You can use this endpoint to archive a quote by including "status": "archived" in the request body. Archiving hides the quote from the Buyer Portal and prevents it from being purchased.
- A quote in any status can be archived.
Authentication
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
Path parameters
Request
The storefront channel ID associated with the quote. This is required if your store has multiple storefront channels. Use 1 for your store’s default storefront channel.
The quote’s buyer-facing notes. Use the newline character to separate each line of text.
The quote’s terms and conditions. Use the newline character to separate each line of text. Omitting this field or leaving it blank does not add your store’s default terms and conditions to the quote. Instead, the quote will not display any terms.
Contact information for the buyer on the quote. Display-only metadata; not used to resolve or validate the linked customer or Company record.
A message sent to the buyer via the in-quote messaging system.
The email address of the quote’s sales rep. Any user email found within the B2B Edition System Users menu is considered a valid value for this field.
This field is optional. If left blank, it will default to the store owner’s email address as shown in the B2B Edition System Users menu.
The date when the buyer can no longer purchase the quote. Use ‘%m/%d/%Y’ format when entering the expiration date.
Set to "archived" to archive the quote.