Update a gig discount

​

Partial update: only the fields sent change.

Path Parameters

  • Gig discount id.

Body·

required
application/json

Any subset of writable fields. At least one is required. Unknown or read-only fields are rejected.

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

  • References gigs.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
  • application/json
Request Example for patch/gig-discounts/{id}
curl https://api.weddingoperatingsystems.com/api/v1/gig-discounts/123e4567-e89b-12d3-a456-426614174000 \
  --request PATCH \
  --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.878Z",
    "last_edited_time": "2026-10-08T19:05:34.878Z",
    "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.878Z",
      "last_edited_time": "2026-10-08T19:05:34.878Z"
    }
  }
}