Billing
Apply a discount to a subscription item
Changed onApplies an existing discount to a subscription item. Manual application is an override path: self-serve distribution rules are not enforced. At most one active discount is allowed per subscription item; applying a different discount replaces the currently active one. Re-applying the same active discount returns a conflict.
post/billing/subscription_items/{subscription_item_id}/discounts
Request
- Base URLhttps://api.clerk.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscription_item_idstring required
The ID of the subscription item to apply the discount to
Request body
Response
A commerce discount redemption.
Changes
- info
endpoint added
- info