quoteChangeAddCoupon

Graphql fields and variables for the quoteChangeAddCoupon mutation

Add a coupon to a Quote

Scope required: standard:write

mutation quoteChangeAddCoupon ($quoteChangeId: ID!, $couponCode: String!) {
  quoteChangeAddCoupon (quoteChangeId: $quoteChangeId, couponCode: $couponCode) {
      errors
      quoteChange {
        currencyId
        endDate
        evergreen
        id
        name
        priceAdjustmentAllowed
        priceAdjustmentLastDate
        priceAdjustmentPercentage
        priceListId
        quoteId
        quotePlanId
        rampIntervalMonths
        renewalSummary
        renewalTermMonths
        startDate
        subscriptionId
      }
  }
}

Arguments

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

quoteChangeId

ID

couponCode

String

Response

Name
Type
Description

errors

String

quoteChange

Last updated

Was this helpful?