updatePricing

Change a charge's price, with newUnitPriceMinor or newPricing. Seat-based charges can't be repriced (400); change their seats with updateQuantity.

  • The live charge, from Get amendment options.

  • Pricing fields to change, merged over the charge's current pricing. You can also send catalog-shaped pricing (with pricingType and a pricePoints list, as on product attributes). Used when newUnitPriceMinor isn't sent.

    Properties: 18
  • A new quantity as well. Default, the current one.

  • The new unit price. Integer minor units (cents for USD).

  • For charges that aren't usage, none (default: the new price from when the charge's current billing period ends) or prorate (the new price from today, with a recurring charge's difference for the rest of the period charged or credited). For usage charges, signalsFromAmendment (default: signals from now on take the new price) or allSignalsInPeriod (the whole current period is priced at the new price).

    values
    noneproratesignalsFromAmendmentallSignalsInPeriod