# Quotes Quotes are legally binding custom offers presented to a [Buyer](/api/quotes-overview.md#buyer). Learn more about price locking, order creation, and renegotiation of Quotes in our self-paced [Implement B2B purchase flows](/learning-model-b2b-commerce/implement-b2b-purchase-flows/quotes-price-locking-and-renegotiation.md) module. ## Representations #### Quote [type definition](/api/projects/quotes.md?urn=ctp:api:type:Quote). #### QuoteDraft [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteDraft). #### QuotePagedQueryResponse [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuotePagedQueryResponse). #### QuoteReference [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteReference). #### QuoteRequestResourceIdentifier [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteResourceIdentifier). #### QuoteState [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteState). ## Get Quote ### Get Quote by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/\{id}:GET). ### Get Quote by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/key=\{key}:GET). ## Get Quote in Store ### Get Quote in Store by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/\{id}:GET). ### Get Quote in Store by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/key=\{key}:GET). ## Query Quotes [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes:GET). ## Query Quotes in Store [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes:GET). ## Check if Quote exists ### Check if Quote exists by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/\{id}:HEAD). ### Check if Quote exists by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/key=\{key}:HEAD). ### Check if Quote exists by Query Predicate [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes:HEAD). ## Check if Quote exists in Store ### Check if Quote exists in Store by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/\{id}:HEAD). ### Check if Quote exists in Store by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/key=\{key}:HEAD). ### Check if Quote exists in Store by Query Predicate [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes:HEAD). ## Create Quote [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes:POST). ## Create Quote in Store [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes:POST). ## Update Quote ### Update Quote by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/\{id}:POST). ### Update Quote by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/key=\{key}:POST). ## Update Quote in Store ### Update Quote in Store by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/\{id}:POST). ### Update Quote in Store by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/key=\{key}:POST). ## Update actions #### Change Quote State [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteChangeQuoteStateAction). #### Request Quote Renegotiation [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteRequestQuoteRenegotiationAction). #### Set Custom Type [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteSetCustomTypeAction). #### Set CustomField [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteSetCustomFieldAction). #### Transition State [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteTransitionStateAction). #### Change Customer [type definition](/api/projects/quotes.md?urn=ctp:api:type:QuoteChangeCustomerAction). ## Delete Quote ### Delete Quote by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/\{id}:DELETE). ### Delete Quote by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/quotes/key=\{key}:DELETE). ## Delete Quote in Store ### Delete Quote in Store by ID [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/\{id}:DELETE). ### Delete Quote in Store by Key [endpoint definition](/api/projects/quotes.md?urn=ctp:api:endpoint:/\{projectKey}/in-store/key=\{storeKey}/quotes/key=\{key}:DELETE). ## Related pages - [Area overview page with navigation](/api.md) - [Previous page: Staged Quotes](/api/projects/staged-quotes.md)