quoteApplyChanges

Graphql fields and variables for the quoteApplyChanges mutation

Convert the quote to a subscription

Scope required: admin:write

mutation quoteApplyChanges ($quoteId: ID!, $persist: Boolean!, $taxes: Boolean!) {
  quoteApplyChanges (quoteId: $quoteId, persist: $persist, taxes: $taxes) {
      errors
      invoice {
        accountId
        amount
        amountDue
        amountPaid
        baseCurrencyId
        couponApplied
        createdAt
        credits
        currencyId
        description
        dueAt
        hasPaymentMethod
        id
        isLegacy
        issuedAt
        kind
        netPaymentDays
        notes
        number
        paidAt
        payableId
        poNumber
        portalUrl
        quoteId
        smallUnitAmountDue
        subtotal
        taxAmount
        updatedAt
        url
        uuid
      }
      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
      }
      subscriptions
  }
}

Arguments

{
  "quoteId": "456123",
  "persist": true,
  "taxes": true
}
Name
Type
Description

quoteId

ID

persist

Boolean

taxes

Boolean

Response

Name
Type
Description

errors

List (String)

invoice

quote

subscriptions

Last updated

Was this helpful?