GigProductInput
Fields accepted when creating a gig product. Unknown or read-only fields are rejected.
- gigType: string | nullFormat: uuid
_id requiredReferences gigs.id.
- productType: string | nullFormat: uuid
_id requiredReferences products.id.
- contractType: string | null
_duration - descriptionType: string | null
The wording on the contract, e.g. "10 Piece Intensity Band with Keys and 3rd horn".
- discountableType: boolean
Whether gig-level discounts apply to this line. Travel usually is not.
- displayType: "line" or "folded" or nullenum
line: its own line on the contract. folded: rolled into the parent line’s printed amount.
- endType: string | null
_time - ensembleType: string | nullFormat: uuid
_id References ensembles.id.
- gigType: string | nullFormat: uuid
_contract _id The contract or addendum that sold this line. References gig_contracts.id.
- gigType: string | nullFormat: uuid
_role _id The staffing slot this line pays for. Required when the product names a performer; that is how a slot becomes client-requested. References gig_roles.id.
- labelType: string | null
- locationType: string | null
- notesType: string | null
- parentType: string | nullFormat: uuid
_gig _product _id A child line belongs to another line on the same gig: travel inside the band line, a speaker inside the trio. With display folded it prints inside the parent’s amount. References gig_products.id.
- positionType: string | null
_for _musicians - priceType: string | nullFormat: uuid
_id The catalog price this line was sold at. Empty for an ad hoc line, which carries its own unit_amount. References prices.id.
- quantityType: number | null
How many units. 1 for a band; 24 for up lights.
- startType: string | null
_time - statusType: string | nullenum
Lifecycle of this contracted segment, from tentative through client confirmation.
values- T
B D - Pending
Client Confirmation - Confirmed
- Rejected
- null
- T
- unitType: number | null
_amount Minor units per unit, copied from the price when the line is created (or typed in when there is no price). For a tiered price, empty: the tiers decide.