quoteApplyChanges

Convert the quote to a subscription. The quoteApplyChanges mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation quoteApplyChanges ($quoteId: ID!, $persist: Boolean, $taxes: Boolean) {
  quoteApplyChanges (quoteId: $quoteId, persist: $persist, taxes: $taxes) {
      errors
      invoice {
        accountId
        aging
        amount
        amountDue
        amountPaid
        baseCurrencyId
        baseCurrencyTotal
        couponApplied
        createdAt
        credits
        currencyId
        description
        dueAt
        fromChildAccountId
        hasPaymentMethod
        id
        internalNotes
        isLegacy
        issuedAt
        kind
        netPaymentDays
        notes
        number
        paidAt
        payableId
        paymentFailedAt
        paymentFailureReason
        poNumber
        portalUrl
        quoteId
        sendInvoiceTo
        smallUnitAmountDue
        subtotal
        taxAmount
        taxRate
        updatedAt
        url
        uuid
      }
      quote {
        acceptedAt
        acceptedByName
        acceptedByTitle
        accountId
        amount
        amountAsCurrency
        amountDue
        applicationDate
        applied
        applyOnAccept
        backdatedPeriods
        backdatedQuote
        billingDay
        contactId
        createdAt
        credits
        currencyId
        customFieldsData
        dealId
        discount
        discountValue
        documentTemplateId
        emailBody
        emailSubject
        endDate
        evergreen
        expiresAt
        hasCustomFields
        id
        invoiceImmediately
        invoiceImmediatelyAvailable
        invoiceUntil
        isPendingApprovalRequest
        message
        name
        netPaymentDays
        notes
        number
        ownerId
        payToAccept
        payableId
        periodAmount
        poNumber
        requiresApproval
        sharedAt
        signingIntegration
        skipBackdatedInvoices
        smallUnitAmountDue
        splitInvoice
        startDate
        subtotal
        taxAmount
        taxCode
        taxationEnabled
        updatedAt
        userEmailBody
        userEmailSubject
        uuid
        viewedAt
      }
      subscriptions
  }
}

ArgumentsLink to Arguments section

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

ResponseLink to Response section

Name Type Description
errors List (String)  
invoice Invoice  
quote Quote  
subscriptions List (Subscription)