# quoteChargeUpdate

Modify the quote charge properties

**Scope required:** standard:write

```graphql
mutation quoteChargeUpdate ($quoteChargeId: ID!, $quantity: Int!, $discount: Float!, $price: Float!, $subtotal: Float!, $name: String!, $startDate: ISO8601Date!, $endDate: ISO8601Date!, $priceTiers: [QuotePriceTierAttributes!]!) {
  quoteChargeUpdate (quoteChargeId: $quoteChargeId, quantity: $quantity, discount: $discount, price: $price, subtotal: $subtotal, name: $name, startDate: $startDate, endDate: $endDate, priceTiers: $priceTiers) {
      errors
      quoteCharge {
        amount
        couponId
        createdAt
        currencyId
        currentPrice
        currentQuantity
        discount
        endDate
        evergreen
        id
        invoiceLineText
        isRamp
        isTrial
        name
        price
        priceDecimals
        priceListChargeId
        prorationRate
        quantity
        quantityMax
        quantityMin
        quoteChangeId
        startDate
        subtotal
        taxAmount
        taxCode
        tieredAveragePrice
        updatedAt
        vatCode
      }
  }
}
```

## Arguments

```json
{
  "quoteChargeId": "456123",
  "quantity": 123,
  "discount": "1.00",
  "price": "1.00",
  "subtotal": "1.00",
  "name": "",
  "startDate": "2022-06-01",
  "endDate": "2022-06-01",
  "priceTiers": [
    {
      "starts": 123,
      "price": "BigDecimal"
    }
  ]
}
```

| Name          | Type                                                                                                             | Description |
| ------------- | ---------------------------------------------------------------------------------------------------------------- | ----------- |
| quoteChargeId | ID                                                                                                               |             |
| quantity      | Int                                                                                                              |             |
| discount      | Float                                                                                                            |             |
| price         | Float                                                                                                            |             |
| subtotal      | Float                                                                                                            |             |
| name          | String                                                                                                           |             |
| startDate     | ISO8601Date                                                                                                      |             |
| endDate       | ISO8601Date                                                                                                      |             |
| priceTiers    | List ([QuotePriceTierAttributes](https://docs.bunny.com/developer/api-reference/types/quotepricetierattributes)) |             |

## Response

| Name        | Type                                                                            | Description |
| ----------- | ------------------------------------------------------------------------------- | ----------- |
| errors      | List (String)                                                                   |             |
| quoteCharge | [QuoteCharge](https://docs.bunny.com/developer/api-reference/types/quotecharge) |             |
