Apply a discount to an existing subscription

Apply a previously-created discount to a running subscription. The discount is
recorded as an AppliedDiscount linked to the subscription and is honored on the
next charge cycle for flex billing. Useful for affiliate / referral programs where
attribution lands after the merchant has already subscribed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The Mantle subscription ID to apply the discount to.

Body Params
string
required

The Mantle discount ID to apply to the subscription.

Headers
string
required

The App Id when you create an API key in your Mantle dashboard.

string
required

The App API key from your Mantle dashboard.

Responses

400

Bad request (missing discountId or discount not found)

404

Subscription not found

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json