GigProduct

A line sold on a gig — this gig’s Reception, its Cocktail Trio, three Requested Performers, 24 Up Lights, the travel folded into the band. Price × quantity, with the unit amount copied from the catalog price the day it was sold (or typed in, ad hoc), its own discounts, the contract that sold it and, when the product names a performer, the staffing slot it pays for. Amounts are computed by the API from quantity, unit amount, tiers and discounts.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • The wording on the contract, e.g. "10 Piece Intensity Band with Keys and 3rd horn".

  • Whether gig-level discounts apply to this line. Travel usually is not.

  • line: its own line on the contract. folded: rolled into the parent line’s printed amount.

  • References ensembles.id.

  • The contract or addendum that sold this line. References gig_contracts.id.

  • References gigs.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.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • 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.

  • The catalog price this line was sold at. Empty for an ad hoc line, which carries its own unit_amount. References prices.id.

  • References products.id.

  • How many units. 1 for a band; 24 for up lights.

  • Lifecycle of this contracted segment, from tentative through client confirmation.

    values
    • TBD
    • Pending Client Confirmation
    • Confirmed
    • Rejected
    • null
  • 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.

  • Minor units taken off by discounts. Computed.

  • Minor units, before discounts. Computed.

  • Minor units owed. Computed.

  • The price_id row, present when the request asks for expand=price.

    Properties: 14
  • The product_id row, present when the request asks for expand=product.

    Properties: 14