Billing
Add a new discount coupon.
Only one of AmountOff or PercentOff should be set. Duration values: 1 = Forever, 2 = Once, 3 = Repeating (DurationInMonths must be set).
post/api/v1/billing/discountcoupons
Request
- Base URL: https://go.outseta.com
- URL: https://go.outseta.com/api/v1/billing/discountcoupons
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Request body
Example request
{
"Uid": "string",
"_objectType": "string",
"Created": "string",
"Updated": "string",
"ActivityEventData": {},
"UniqueIdentifier": "string",
"Name": "string",
"IsActive": false,
"AmountOff": 0,
"PercentOff": 0,
"RedeemBy": "string",
"Duration": 1,
"DurationInMonths": 0,
"TimesRedeemed": 0,
"MaxRedemptions": 0,
"DiscountCouponPlans": [
{
"Uid": "string",
"_objectType": "string",
"Created": "string",
"Updated": "string",
"ActivityEventData": {},
"Plan": {},
"DiscountCoupon": {}
}
],
"ApplyToAddOns": false,
"IsInUse": false,
"PlanUids": "string"
}Response
Example response
{
"Uid": "string",
"_objectType": "string",
"Created": "string",
"Updated": "string",
"ActivityEventData": {},
"UniqueIdentifier": "string",
"Name": "string",
"IsActive": false,
"AmountOff": 0,
"PercentOff": 0,
"RedeemBy": "string",
"Duration": 1,
"DurationInMonths": 0,
"TimesRedeemed": 0,
"MaxRedemptions": 0,
"DiscountCouponPlans": [
{
"Uid": "string",
"_objectType": "string",
"Created": "string",
"Updated": "string",
"ActivityEventData": {},
"Plan": {},
"DiscountCoupon": {}
}
],
"ApplyToAddOns": false,
"IsInUse": false,
"PlanUids": "string"
}Changes
No recorded changes to this operation across all 1 revision of this API.