# priceListChargeDeprecate

Deprecate a price list charge

**Scope required:** product:write

```graphql
mutation priceListChargeDeprecate ($id: ID!, $removeOnRenewal: Boolean!) {
  priceListChargeDeprecate (id: $id, removeOnRenewal: $removeOnRenewal) {
      errors
      priceListCharge {
        accountingCode
        avalaraAfcSaleType
        avalaraAfcServiceType
        avalaraAfcTransactionType
        basePrice
        code
        createdAt
        deprecated
        featureAddon
        featureId
        financialAccountId
        hidePeriodsOnInvoice
        id
        isTelecomCharge
        longName
        name
        position
        price
        priceDecimals
        priceDescription
        priceListId
        productId
        quantityMax
        quantityMin
        recognitionPeriod
        removeOnRenewal
        roundUpInterval
        selfServiceQuantity
        showPriceAsMonthly
        specificInvoiceLineText
        taxCode
        updatedAt
      }
  }
}
```

## Arguments

```json
{
  "id": "456123",
  "removeOnRenewal": true
}
```

| Name            | Type    | Description |
| --------------- | ------- | ----------- |
| id              | ID      |             |
| removeOnRenewal | Boolean |             |

## Response

| Name            | Type                                                                                    | Description |
| --------------- | --------------------------------------------------------------------------------------- | ----------- |
| errors          | List (String)                                                                           |             |
| priceListCharge | [PriceListCharge](https://docs.bunny.com/developer/api-reference/types/pricelistcharge) |             |
