POST api/v1/coupons/couponcodes/{value}/validate
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": "6118bd0a-ef8f-4342-8eec-d9b3366166a8", "sellerId": "c8c3ccb8-5dca-410a-afd8-af595007e526" }
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>6118bd0a-ef8f-4342-8eec-d9b3366166a8</CustomerId> <SellerId>c8c3ccb8-5dca-410a-afd8-af595007e526</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.