mutation priceListChargeUpdate ($id: ID!, $attributes: PriceListChargeAttributes!) {
priceListChargeUpdate (id: $id, attributes: $attributes) {
errors
priceListCharge {
accountingCode
avalaraAfcSaleType
avalaraAfcServiceType
avalaraAfcTransactionType
basePrice
code
createdAt
featureId
financialAccountId
id
isTelecomCharge
longName
name
position
price
priceDecimals
priceDescription
priceListId
productId
quantityMax
quantityMin
recognitionPeriod
roundUpInterval
selfServiceQuantity
showPriceAsMonthly
specificInvoiceLineText
taxCode
updatedAt
}
}
}
{
"id": "456123",
"attributes": {
"id": "456123",
"priceListId": "456123",
"name": "",
"code": "",
"selfServiceQuantity": true,
"specificInvoiceLineText": "",
"pricingModel": "PricingModel",
"chargeType": "ChargeType",
"billingPeriod": "BillingPeriod",
"showPriceAsMonthly": true,
"accountingCode": "",
"taxCode": "",
"quantityMin": 123,
"quantityMax": 123,
"roundUpInterval": 123,
"price": "BigDecimal",
"priceDecimals": 123,
"position": 123,
"featureId": "456123",
"usageCalculationType": "UsageCalculation",
"recognitionPeriod": 123,
"financialAccountId": "456123",
"isTelecomCharge": true,
"avalaraAfcTransactionType": "",
"avalaraAfcServiceType": "",
"avalaraAfcSaleType": "",
"priceListChargeTiers": [
{
"starts": 123,
"price": "BigDecimal"
}
]
}
}