Skip to content

Quote GraphQL

Served by QuoteModule on commercetools, QuoteModule on medusa and QuoteModule on sfcc.

Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the quote types page.

Operations

OperationDescriptionServed by
quoteDeclineMutationTurn a quote down, which ends the negotiation and makes it unorderablecommercetoolsmedusasfcc
quoteReplyMutationAnswer a quote with a message to the seller, asking for a different offer.commercetoolsmedusasfcc
quoteRequestCancelMutationWithdraw a submitted quote request the merchant has not yet answeredcommercetoolsmedusasfcc
quoteRequestCreateMutationCreate a quote request from a cartcommercetoolsmedusasfcc

Types

TypeDescription
CartNotQuotableErrorObjectThe cart is in a state the merchant cannot quote.
CartNotQuotableReasonTypeEnumReason a cart cannot be turned into a quote request.
QuoteObjectQuote provided by merchant in response to a quote request
QuoteDeclineErrorUnionError union for declining a quote
QuoteDeclineResponseObjectResponse for declining a quote
QuoteIdentifierObjectIdentifier for a quote with version control
QuoteLineItemInterfaceInterface for quote line items
QuoteNotPendingErrorObjectThe quote is no longer waiting for the buyer, so it cannot be replied to or declined.
QuoteReplyErrorUnionError union for replying to a quote
QuoteReplyResponseObjectResponse for replying to a quote
QuoteRequestObjectQuote request created by a customer
QuoteRequestCancelErrorUnionError union for withdrawing a quote request
QuoteRequestCancelResponseObjectResponse for withdrawing a quote request
QuoteRequestCreateArgsInputInput objectInput data for creating a new quote request
QuoteRequestCreateErrorUnionError union for quote request creation
QuoteRequestCreateResponseObjectResponse for quote request creation
QuoteRequestIdentifierObjectIdentifier for a quote request with version control
QuoteRequestNotCancellableErrorObjectThe request can no longer be withdrawn.
QuoteRequestResultObjectPaginated result containing quote requests
QuoteRequestStatusTypeEnumStatus of a quote request
QuoteResultObjectPaginated result containing quotes
QuoteSingleLineItemObjectIndividual line item in a quote
QuoteSortOrderTypeEnumOrder in which a list of quotes is returned

Fields on other types

This domain adds these fields to types that another domain defines.

BusinessUnit

FieldTypeDescription
quoteRequestQuoteRequestGet a specific quote request by its IDArguments: id
quoteRequestsQuoteRequestResultGet a paginated list of quote requestsArguments: page, pageSize
quoteQuoteGet a specific quote by its IDArguments: id
quotesQuoteResultGet a paginated list of quotesArguments: page, pageSize, sort, status

Order

FieldTypeDescription
quoteQuoteThe quote this order was placed against, where it came from one. Null for an order placed from a cart, which is most of them.