addFromCatalog / addAttribute
Add a charge on a new line from today to the order's end date: one of your product's charges (productAttributeId, usually with addFromCatalog) or a custom one (pricing, usually with addAttribute). Its included credits are granted from today.
- typeType: "addFromCatalog" or "addAttribute"enumrequired
- chargeType: "none" or "prorated" or "full"enum
Stub What the charge bills for the rest of the current period:
none(default) starts billing next period,proratedbills the days left,fullbills a whole period. - lineType: string
Name The new line's name. Default, the charge's or product's name.
- pricingType:Properties: 18
The charge's pricing, instead of a product charge's. Needs
chargeType, or catalog-shaped pricing withpricingType. - productType: string
Attribute Id A product charge to add, priced as in your catalog in the order's currency.
- productType: string
Id The product for the new line. Default, the product of
productAttributeId. - quantityType: integermin:0
Units, or seats for a seat-based charge (which get their seats).
- unitType: number
Price Minor Override the unit price. In minor units (cents for USD).