POST v1/SubscriptionCoupons?view={view}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| view | string |
Default value is default |
Body Parameters
Common.Dto.Post.SubscriptionCoupon| Name | Description | Type | Additional information |
|---|---|---|---|
| subscriptionId | integer |
None. |
|
| couponCode | string |
None. |
|
| couponCodes | Collection of string |
None. |
|
| skipCouponValidation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"subscriptionId": 1,
"couponCode": "sample string 2",
"couponCodes": [
"sample string 1",
"sample string 2"
],
"skipCouponValidation": true
}
Response Information
Resource Description
Common.Dto.Get.SubscriptionCoupon| Name | Description | Type | Additional information |
|---|---|---|---|
| subscriptionId | integer |
None. |
|
| couponCode | string |
None. |
|
| sideEffects | Common.Dto.Get.SideEffects |
None. |
|
| id | integer |
None. |
|
| uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"subscriptionId": 1,
"couponCode": "sample string 2",
"sideEffects": {},
"id": 3,
"uri": "sample string 4"
}