priceListChargeDeprecate
Deprecate a price list charge. The priceListChargeDeprecate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: product:write
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
}
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"removeOnRenewal": true
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| removeOnRenewal | Boolean |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| priceListCharge | PriceListCharge |