quoteCreate

Graphql fields and variables for the quoteCreate mutation

Create an empty quote

Scope required: standard:write

For a complete list of input attributes see the QuoteAttributes type

mutation quoteCreate ($attributes: QuoteAttributes!) {
  quoteCreate (attributes: $attributes) {
      errors
      quote {
        acceptedByName
        acceptedByTitle
        accountId
        amount
        amountDue
        applicationDate
        applied
        applyOnAccept
        backdatedPeriods
        backdatedQuote
        billingDay
        contactId
        createdAt
        credits
        currencyId
        dealId
        discount
        discountValue
        documentTemplateId
        endDate
        evergreen
        expiresAt
        id
        invoiceImmediately
        invoiceImmediatelyAvailable
        invoiceUntil
        isPendingApprovalRequest
        message
        name
        netPaymentDays
        notes
        number
        ownerId
        payToAccept
        payableId
        periodAmount
        poNumber
        requiresApproval
        smallUnitAmountDue
        splitInvoice
        startDate
        subtotal
        taxAmount
        taxCode
        updatedAt
        uuid
      }
  }
}

Arguments

{
  "attributes": {
    "name": "",
    "accountId": "456123",
    "contactId": "456123",
    "currencyId": "",
    "dealId": "456123",
    "ownerId": "456123",
    "netPaymentDays": 123,
    "poNumber": "",
    "evergreen": true,
    "discount": "1.00",
    "splitInvoice": true,
    "backdatedPeriods": true,
    "invoiceImmediately": true,
    "payToAccept": true,
    "applyOnAccept": true,
    "documentTemplateId": "456123",
    "startDate": "2022-06-01",
    "expiresAt": "2022-06-01",
    "endDate": "2022-06-01",
    "invoiceUntil": "2022-06-01",
    "notes": "",
    "message": ""
  }
}
Name
Type
Description

attributes

Response

Name
Type
Description

errors

List (String)

quote

Last updated

Was this helpful?