quoteChangeRemoveCoupon

Remove a coupon from a specific quote change. Pairs with quoteChangeAddCoupon; if you only know the quote, use quoteRemoveCoupon. The quoteChangeRemoveCoupon mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation quoteChangeRemoveCoupon ($quoteChangeId: ID!, $couponCode: String!) {
  quoteChangeRemoveCoupon (quoteChangeId: $quoteChangeId, couponCode: $couponCode) {
      errors
      quoteChange {
        accountId
        calculatedAdjustmentAmount
        currencyId
        endDate
        evergreen
        id
        isTrial
        name
        priceAdjustmentAllowed
        priceAdjustmentLastDate
        priceAdjustmentPercentage
        priceListId
        quoteId
        quotePlanId
        rampIntervalMonths
        renewalSummary
        renewalTermMonths
        startDate
        subscriptionId
        tenantId
        trialEndDate
        trialLengthDays
        trialStartDate
      }
  }
}

ArgumentsLink to Arguments section

{
  "quoteChangeId": "456123",
  "couponCode": ""
}
Name Type Description
quoteChangeId ID  
couponCode String  

ResponseLink to Response section

Name Type Description
errors String  
quoteChange QuoteChange