GET rest/v1/catalog/coupons/{couponCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
couponCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CouponName | Description | Type | Additional information |
---|---|---|---|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
DiscountRateplan | string |
None. |
|
Model | string |
None. |
|
DiscountValue | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "StartDate": "2025-01-08T18:04:08.4040028+00:00", "EndDate": "2025-01-08T18:04:08.4040028+00:00", "DiscountRateplan": "sample string 3", "Model": "sample string 4", "DiscountValue": 5.1 }
application/xml, text/xml
Sample:
<Coupon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Subscriptions.HMH.Common.APIEntities"> <DiscountRateplan>sample string 3</DiscountRateplan> <DiscountValue>5.1</DiscountValue> <EndDate>2025-01-08T18:04:08.4040028+00:00</EndDate> <Model>sample string 4</Model> <StartDate>2025-01-08T18:04:08.4040028+00:00</StartDate> </Coupon>