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

quoteAttachFileCreate

Example Query
1mutation ExampleMutation($fileList: [QuoteFileListInputType], $quoteId: Int) {
2 quoteAttachFileCreate(fileList: $fileList, quoteId: $quoteId) {
3 attachFiles {
4 id
5 fileName
6 fileType
7 fileUrl
8 createdBy
9 }
10 }
11}
Variables
1{
2 "fileList": [
3 {
4 "id": 0,
5 "fileUrl": "example",
6 "fileName": "example",
7 "fileType": "example",
8 "fileSize": 0
9 }
10 ],
11 "quoteId": 0
12}
Example response
1{
2 "data": {
3 "quoteAttachFileCreate": {
4 "attachFiles": [
5 {
6 "id": 0,
7 "fileName": "example",
8 "fileType": "example",
9 "fileUrl": "example",
10 "createdBy": "example"
11 }
12 ]
13 }
14 }
15}
Create attachment for a quote. Requires either B2B or BC Token.
Was this page helpful?
Previous

quoteAttachFileDelete

Next

quoteFrontendPdf

Built with

Arguments

fileListlist of optional QuoteFileListInputTypeOptional
List of files added by customer
quoteIdIntegerRequired
Unique quote ID. This field is required.

Returns

an optional QuoteAttachmentCreate
attachFileslist of optional QuoteAttachFiles