POST api/v1/coupons/createanduse?sellerId={sellerId}&organizationCode={organizationCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sellerId | globally unique identifier |
Required |
|
| organizationCode | string |
Required |
Body Parameters
GenerateCouponDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganizationCode | string |
None. |
|
| PromotionCode | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| string |
None. |
||
| ChannelCommunicationCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"organizationCode": "sample string 1",
"promotionCode": "sample string 2",
"customerId": "bfca7e08-72ef-4e8c-ad9f-3c66d7c70831",
"email": "sample string 3",
"channelCommunicationCode": "sample string 4"
}
application/xml, text/xml
Sample:
<GenerateCouponDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos"> <ChannelCommunicationCode>sample string 4</ChannelCommunicationCode> <CustomerId>bfca7e08-72ef-4e8c-ad9f-3c66d7c70831</CustomerId> <Email>sample string 3</Email> <OrganizationCode>sample string 1</OrganizationCode> <PromotionCode>sample string 2</PromotionCode> </GenerateCouponDto>
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.