Remove Coupon from Subscription
Built with APIMatic
Removes a coupon from an existing subscription.
For more information on the expected behavior of removing a coupon from a subscription, see our documentation here.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The Chargify id of the subscription.
The coupon code
application/json
application/json
curl -X DELETE -G \ --url 'https://subdomain.chargify.com/subscriptions/1/remove_coupon.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'