---
schema_version: "1"
id: c0b60287c6e9fd28fd1bb19c808de6d077f04fce784f13c234f10432e119357a
title: ConnectApi.CreateQuoteFromCartInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_create_quote_from_cart.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_create_quote_from_cart.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1384a6bc891d9cd9cb553b903bf59d6f05943154a4969d7d0e7e9a845bc8cf75
description: Input representation for creating a quote from a cart.
---
# ConnectApi.CreateQuoteFromCartInput

Input representation for creating a quote from a cart.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| additionalFields | [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, String> | Map of standard and custom Quote fields, such as expiration date and buyer email. | Required | 66.0 |
| comments | String | Comments submitted by the buyer when requesting a quote. | Optional | 66.0 |
| contextDefinitionName | String | Context defination name provided by the buyer when requesting a quote. | Optional | 66.0 |
| deleteCart | Boolean | Indicate whether to delete the cart (true) or not (false) after the quote is created. | Optional | 66.0 |

#### See Also

- [createQuoteFromCart(webstoreId, activeCartOrId, createQuoteFromCartInput)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommerceCart_static_methods.htm#apex_ConnectAPI_CommerceCart_createQuoteFromCart_1 "Create a new quote from an active cart by converting cart items into quote line items.")
- [ConnectApi.CreateQuoteFromCartOutput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_create_quote_from_cart_output.htm "Representation of the response for creating a quote from a cart.")