OrderLineAttributeInput
One charge on an order line. Name a charge of the product to take its pricing, then adjust it with a quantity, discount or credits; or send the whole pricing.
- nameType: stringrequired
The charge's name. When
pricingis left out, the product's charge of this name prices it. - creditType: number
Amount Credits the charge includes each billing period, replacing its first credit benefit's amount.
- discountType: number
Amount min:0A fixed amount off the charge for each billing period (once for a one-time charge), never more than the charge comes to for that period. In minor units (cents for USD). Billed as a negative line of its own under the charge; the charge keeps its list price. Stored on the charge's pricing as
discount.amountMinor.discountPercentwins when you send both. - discountType: number
Percent min:0max:100Percentage off the charge, from 0 to 100, for example 10 for 10%. Billed as a negative line of its own under each of the charge's amounts; the charge keeps its list price. Stored on the charge's pricing as
discount.percent. - overageType: number
Unit Price Price per credit used past the included credits, replacing its first credit benefit's. In minor units (cents for USD); fractions allowed.
- pricingType: objectProperties: 18
The charge's pricing. Required, with
chargeType, unless the product has a charge namedname. - quantityType: integermin:0
Units of the charge; for a seat-based charge, the number of seats (at most 10,000).