PricePatch
Any subset of writable fields. At least one is required. Unknown or read-only fields are rejected.
- billingType: "per_unit" or "tiered" or nullenum
_scheme per_unit: quantity × unit_amount. tiered: the tiers decide, in tiers_mode.
- currencyType: string | null
ISO 4217, lowercase.
- ensembleType: string | nullFormat: uuid
_id The ensemble this price is for, when the product’s price depends on who plays it. Empty: the product’s price for any ensemble. References ensembles.id.
- labelType: string | null
Internal nickname, e.g. "10-piece, 2027".
- lookupType: string | null
_key A stable handle, unique per band, e.g. "reception.10pc". For seeds, UI and sync.
- orderType: number | null
- productType: string | nullFormat: uuid
_id References products.id.
- statusType: "active" or "inactive" or nullenum
Active prices are offered for new lines; inactive are retired. Lines already sold keep pointing at a retired price.
- tiersType: object | nullProperties: 1
When tiered: an array of {up_to, unit_amount, flat_amount}, ascending, the last with up_to null. Amounts in minor units. "$220 for the first 8, $27.50 each after" is [{up_to: 8, flat_amount: 22000}, {up_to: null, unit_amount: 2750}].
- tiersType: "graduated" or "volume" or nullenum
_mode graduated: each tier charges for the units that fall in it. volume: the tier the total quantity lands in prices every unit.
- unitType: number | null
_amount Integer minor units (cents) per unit, when billing_scheme is per_unit.