POST api/v1/coupons/couponcodes/{value}/sendbyemail
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| value | string |
Required |
Body Parameters
SendCouponByEmailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganizationCode | string |
None. |
|
| Value | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Link | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"organizationCode": "sample string 1",
"value": "sample string 2",
"customerId": "9cb3742f-1d95-4146-bd5f-d025fff16cbd",
"link": "sample string 3"
}
application/xml, text/xml
Sample:
<SendCouponByEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos"> <CustomerId>9cb3742f-1d95-4146-bd5f-d025fff16cbd</CustomerId> <Link>sample string 3</Link> <OrganizationCode>sample string 1</OrganizationCode> <Value>sample string 2</Value> </SendCouponByEmailDto>
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.