GigDiscount
One discount applied on a gig — Stripe’s Discount. With a gig_product_id it is a line discount (the comped trio, a waived performer fee); without, it applies to the gig’s discountable subtotal after the line discounts. percent_off or amount_off are copied from the coupon at the time, so a signed contract keeps its numbers. The amount it took off is computed by the API.
- amountType: number | null
_off requiredMinor units. Exactly one of percent_off and amount_off.
- couponType: string | nullFormat: uuid
_id requiredThe reason, when it is one of the band’s named ones. Empty for a one-off. References coupons.id.
- 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
- gigType: string | nullFormat: uuid
_contract _id requiredThe contract or addendum it was agreed in. References gig_contracts.id.
- gigType: string | nullFormat: uuid
_id requiredReferences gigs.id.
- gigType: string | nullFormat: uuid
_product _id requiredThe line this discount is on. Empty: a gig-level discount. References gig_products.id.
- idType: stringFormat: uuidread-onlyrequired
- labelType: string | nullrequired
The wording on the contract. Defaults to the coupon’s label.
- 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
- orderType: number | nullrequired
Application order among discounts at the same level.
- percentType: number | null
_off required0 to 100. Exactly one of percent_off and amount_off.
- amountType: integerread-only
Minor units this discount took off, after the discounts before it. Computed.
- couponType: nullableread-onlyProperties: 10
The coupon_id row, present when the request asks for
expand=coupon.