Coupons
Apply coupon to customer
Changed onApply a coupon to a specific customer, optionally linked to a subscription.
post/api/coupons/apply
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Coupon applied
Example response
{
"amountOff": "20.0000",
"usesRemaining": 3
}Changes
- info
endpoint added
- info