POST v1/PurchaseCoupons
Request Information
URI Parameters
None.
Body Parameters
Common.Dto.Post.PurchaseCoupon| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseId | integer |
None. |
|
| couponCode | string |
None. |
|
| skipCouponValidation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"purchaseId": 1,
"couponCode": "sample string 2",
"skipCouponValidation": true
}
Response Information
Resource Description
Common.Dto.Get.PurchaseCoupon| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseId | integer |
None. |
|
| couponCode | string |
None. |
|
| id | integer |
None. |
|
| uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"purchaseId": 1,
"couponCode": "sample string 2",
"id": 3,
"uri": "sample string 4"
}