# RecurringBillingSubscriptionRetainExistingDiscountsInput

Input · GraphQL API

Operations for discounts when retaining existing modifications.

## Fields

- `add` (`[RecurringBillingSubscriptionDiscountInput!]`): Discounts to add (by template ID).
- `edit` (`[RecurringBillingSubscriptionDiscountInput!]`): Discounts to edit (by template ID; server resolves to instance).
- `remove` (`[ID!]`): IDs of discount instances to remove.

## Used by

- [RecurringBillingSubscriptionRetainExistingModificationsInput](/braintree/graphql/reference/types/recurring-billing-subscription-retain-existing-modifications-input) — Input; discounts

## GraphQL definition

```graphql
input RecurringBillingSubscriptionRetainExistingDiscountsInput {
  add: [RecurringBillingSubscriptionDiscountInput!]
  edit: [RecurringBillingSubscriptionDiscountInput!]
  remove: [ID!]
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)