Price
A client-facing price for a product, Stripe-shaped: one number in minor units (or a tier list), never a formula. Optionally for one ensemble (the 10-piece’s reception price). Write-once once sold: retire with status and mint another.
- billingType: "per_unit" or "tiered" or nullenum
_scheme requiredper_unit: quantity × unit_amount. tiered: the tiers decide, in tiers_mode.
- createdType: stringFormat: date-time
_time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- currencyType: string | nullrequired
ISO 4217, lowercase.
- ensembleType: string | nullFormat: uuid
_id requiredThe 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.
- idType: stringFormat: uuidread-onlyrequired
- labelType: string | nullrequired
Internal nickname, e.g. "10-piece, 2027".
- lastType: stringFormat: date-time
_edited _time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- lookupType: string | null
_key requiredA stable handle, unique per band, e.g. "reception.10pc". For seeds, UI and sync.
- orderType: number | nullrequired
- productType: string | nullFormat: uuid
_id requiredReferences products.id.
- statusType: "active" or "inactive" or nullenumrequired
Active prices are offered for new lines; inactive are retired. Lines already sold keep pointing at a retired price.
- tiersType: object | nullrequiredProperties: 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 requiredgraduated: 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 requiredInteger minor units (cents) per unit, when billing_scheme is per_unit.