updatePricing
Change a charge's price, with newUnitPriceMinor or newPricing. Seat-based charges can't be repriced (400); change their seats with updateQuantity.
- orderType: string
Line Attribute Id requiredThe live charge, from Get amendment options.
- typeconst:updatePricingrequired
- newType:
Pricing Properties: 18Pricing fields to change, merged over the charge's current pricing. You can also send catalog-shaped pricing (with
pricingTypeand apricePointslist, as on product attributes). Used whennewUnitPriceMinorisn't sent. - newType: integer
Quantity min:0A new quantity as well. Default, the current one.
- newType: integer
Unit Price Minor min:0The new unit price. Integer minor units (cents for USD).
- treatmentType: stringenum
For charges that aren't usage,
none(default: the new price from when the charge's current billing period ends) orprorate(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) orallSignalsInPeriod(the whole current period is priced at the new price).valuesnoneproratesignalsFromAmendmentallSignalsInPeriod