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
GenerateCouponDtoName | 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": "bf17d313-25d8-4d3c-ab5b-b52eac5eb68e", "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>bf17d313-25d8-4d3c-ab5b-b52eac5eb68e</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.