Operations

Create subscription coupon

Create 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

Request

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

Request body

codestring required
discount_type'percent' | 'fixed' required
percent_offnumber
amount_off_centsnumber
duration'once' | 'repeating' | 'forever'
duration_in_monthsinteger nullable
applies_to_tierstring nullable
applies_to_period'all' | 'monthly' | 'annual'
max_redemptionsinteger nullable
per_customer_limitnumber
starts_atstring nullable
expires_atstring nullable
notestring

Response

Create subscription coupon response

object required

Created coupon. Discounts affect price only.

Changes

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