priceListChargeCreate

Graphql fields and variables for the priceListChargeCreate mutation

Create a charge on a price list

Scope required: product:write

For a complete list of input attributes see the PriceListChargeAttributes type

mutation priceListChargeCreate ($attributes: PriceListChargeAttributes!) {
  priceListChargeCreate (attributes: $attributes) {
      errors
      priceListCharge {
        accountingCode
        avalaraAfcSaleType
        avalaraAfcServiceType
        avalaraAfcTransactionType
        basePrice
        code
        createdAt
        featureId
        financialAccountId
        hidePeriodsOnInvoice
        id
        isTelecomCharge
        longName
        name
        position
        price
        priceDecimals
        priceDescription
        priceListId
        productId
        quantityMax
        quantityMin
        recognitionPeriod
        roundUpInterval
        selfServiceQuantity
        showPriceAsMonthly
        specificInvoiceLineText
        taxCode
        updatedAt
      }
  }
}

Arguments

{
  "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": "",
    "hidePeriodsOnInvoice": true,
    "priceListChargeTiers": [
      {
        "starts": 123,
        "price": "BigDecimal"
      }
    ]
  }
}
Name
Type
Description

Response

Name
Type
Description

errors

List (String)

priceListCharge

Last updated

Was this helpful?