POST api/v1/coupons/couponcodes/{value}/use
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
value | string |
Required |
Body Parameters
UseCouponCodeDtoName | Description | Type | Additional information |
---|---|---|---|
Value | string |
None. |
|
CustomerId | globally unique identifier |
None. |
|
SellerId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "value": "sample string 1", "customerId": "ac8e1446-888c-4c77-b4cf-beaa547b9c44", "sellerId": "f0895038-b47c-407f-b845-0c8847631e87" }
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"> <CustomerId>ac8e1446-888c-4c77-b4cf-beaa547b9c44</CustomerId> <SellerId>f0895038-b47c-407f-b845-0c8847631e87</SellerId> <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.