CouponInput

Fields accepted when creating a coupon. Unknown or read-only fields are rejected.

  • What the contract prints: "Preferred planner".

  • A fixed amount in minor units. Exactly one of percent_off and amount_off.

  • Optional restriction for line discounts: {"product_ids": [...]} or {"categories": ["entertainment"]}. Empty: any line.

    Properties: 1
  • Where it may be applied: to one line, to the gig’s discountable subtotal, or either.

    values
    linegigeithernull
  • 0 to 100. Exactly one of percent_off and amount_off.

  • Active coupons can be applied; inactive are retired.