Operations

Update subscription coupon

Update subscription coupon. The response is scoped and validated by the runtime repository; unknown or unauthorized resources use the canonical error envelope.

post/v1/admin/coupons/{coupon_id}

Request

  • Base URL: https://loppee.com
  • URL: https://loppee.com/v1/admin/coupons/{coupon_id}
  • Auth: HTTP bearer

Path parameters

coupon_idstring required

coupon id path identifier.

Request body

activeboolean
notestring
applies_to_tierstring nullable
applies_to_period'all' | 'monthly' | 'annual'
max_redemptionsinteger nullable
per_customer_limitnumber
starts_atstring nullable
expires_atstring nullable

Response

Update subscription coupon response

object required

Updated coupon; immutable commercial identity fields cannot change.

Changes

No recorded changes to this operation across all 1 revision of this API.