Create a gig discount

​

Body·

required
application/json

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

  • References gigs.id.

  • Minor units. Exactly one of percent_off and amount_off.

  • The reason, when it is one of the band’s named ones. Empty for a one-off. References coupons.id.

  • The contract or addendum it was agreed in. References gig_contracts.id.

  • The line this discount is on. Empty: a gig-level discount. References gig_products.id.

  • The wording on the contract. Defaults to the coupon’s label.

  • Application order among discounts at the same level.

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

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/gig-discounts
curl https://api.weddingoperatingsystems.com/api/v1/gig-discounts \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "label": null,
  "gig_id": null,
  "gig_product_id": null,
  "gig_contract_id": null,
  "coupon_id": null,
  "percent_off": null,
  "amount_off": null,
  "order": null
}'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "label": null,
    "gig_id": null,
    "gig_product_id": null,
    "gig_contract_id": null,
    "coupon_id": null,
    "percent_off": null,
    "amount_off": null,
    "order": null,
    "created_time": "2026-10-08T19:05:34.874Z",
    "last_edited_time": "2026-10-08T19:05:34.874Z",
    "amount": 1,
    "coupon": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "label": null,
      "status": "active",
      "percent_off": null,
      "amount_off": null,
      "level": "line",
      "applies_to": null,
      "order": null,
      "created_time": "2026-10-08T19:05:34.874Z",
      "last_edited_time": "2026-10-08T19:05:34.874Z"
    }
  }
}