POST api/v1/coupons/couponcodes/{value}/use
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| value | string |
Required |
Body Parameters
UseCouponCodeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| SellerId | globally unique identifier |
None. |
|
| ServiceDate | date |
None. |
|
| Comments | string |
None. |
|
| PurchaseDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"value": "sample string 1",
"customerId": "f09ecc2b-e9d5-446d-b560-f02775c054d8",
"sellerId": "caeb6a63-4c2e-4828-958d-8e00cbd1590e",
"serviceDate": "2026-03-21T23:27:44.6987761+00:00",
"comments": "sample string 2",
"purchaseDate": "2026-03-21T23:27:44.6987761+00:00"
}
application/xml, text/xml
Sample:
<UseCouponCodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos"> <Comments>sample string 2</Comments> <CustomerId>f09ecc2b-e9d5-446d-b560-f02775c054d8</CustomerId> <PurchaseDate>2026-03-21T23:27:44.6987761+00:00</PurchaseDate> <SellerId>caeb6a63-4c2e-4828-958d-8e00cbd1590e</SellerId> <ServiceDate>2026-03-21T23:27:44.6987761+00:00</ServiceDate> <Value>sample string 1</Value> </UseCouponCodeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.