For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • MUTproductUpload
          • MUTproductAnonUpload
          • MUTupdateAccountSettings
          • MUTupdateCustomerAccountSettings
          • MUTinvoicePdf
          • MUTinvoicesExport
          • MUTinvoiceCreateBcCart
          • MUTinvoiceFinishBcPayment
          • MUTcreateOrder
          • MUTshoppingListsCreate
          • MUTshoppingListsUpdate
          • MUTshoppingListsDelete
          • MUTshoppingListsDuplicate
          • MUTshoppingListsItemsCreate
          • MUTshoppingListsItemsUpdate
          • MUTshoppingListsItemsDelete
          • MUTcustomerShoppingListsCreate
          • MUTcustomerShoppingListsUpdate
          • MUTcustomerShoppingListsDelete
          • MUTcustomerShoppingListsDuplicate
          • MUTcustomerShoppingListsItemsCreate
          • MUTcustomerShoppingListsItemsUpdate
          • MUTcustomerShoppingListsItemsDelete
          • MUTquoteCreate
          • MUTquoteUpdate
          • MUTquoteCheckout
          • MUTquoteOrdered
          • MUTquoteEmail
          • MUTquotePdfExport
          • MUTquoteAttachFileDelete
          • MUTquoteAttachFileCreate
          • MUTquoteFrontendPdf
          • MUTsuperAdminBeginMasquerade
          • MUTsuperAdminEndMasquerade
          • MUTcompanyCreate
          • MUTlogin
          • MUTcheckoutLogin
          • MUTauthorization
          • MUTuserCreate
          • MUTuserUpdate
          • MUTuserDelete
          • MUTstoreFrontToken
          • MUTcustomerCreate
          • MUTcustomerSubscribersCreate
          • MUTuserMasqueradingCompanyBegin
          • MUTuserMasqueradingCompanyEnd
          • MUTaddressCreate
          • MUTaddressUpdate
          • MUTaddressDelete
          • MUTcustomerAddressCreate
          • MUTcustomerAddressUpdate
          • MUTcustomerAddressDelete
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BMutations

quoteCreate

Example Query
1mutation ExampleMutation($quoteData: QuoteInputType) {
2 quoteCreate(quoteData: $quoteData) {
3 quote {
4 id
5 createdAt
6 updatedAt
7 quoteNumber
8 quoteTitle
9 referenceNumber
10 userEmail
11 bcCustomerId
12 createdBy
13 createdByEmail
14 }
15 productValidationWarnings {
16 itemId
17 productId
18 variantId
19 responseType
20 code
21 }
22 }
23}
Variables
1{
2 "quoteData": {
3 "notes": "example",
4 "legalTerms": "example",
5 "totalAmount": "Decimal",
6 "message": "example",
7 "subtotal": "Decimal",
8 "discount": "Decimal",
9 "grandTotal": "Decimal",
10 "referenceNumber": "example",
11 "userEmail": "example",
12 "expiredAt": "example"
13 }
14}
Example response
1{
2 "data": {
3 "quoteCreate": {
4 "quote": {
5 "id": "example",
6 "createdAt": 0,
7 "updatedAt": 0,
8 "quoteNumber": "example",
9 "quoteTitle": "example",
10 "referenceNumber": "example",
11 "userEmail": "example",
12 "bcCustomerId": 0,
13 "createdBy": "example",
14 "createdByEmail": "example"
15 },
16 "productValidationWarnings": [
17 {
18 "itemId": "example",
19 "productId": "example",
20 "variantId": "example",
21 "responseType": "example",
22 "code": "example"
23 }
24 ]
25 }
26 }
27}
Create a new quote. Requires B2B or BC token only if store has disabled guest quotes
Was this page helpful?
Previous

customerShoppingListsItemsDelete

Next

quoteUpdate

Built with

Arguments

quoteDataQuoteInputTypeRequired
A quote object. This field is required.

Returns

an optional QuoteCreate
quoteQuoteType
productValidationWarningslist of optional ProductValidationErrorType