PUT rest/defaultcouponsettings/{partnerId}
Creates or updates the default coupon settings for the given partnerId.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
partnerId |
The partner Id to set the default coupon settings for. |
integer |
Required |
Body Parameters
The default settings to set.
DefaultCouponSettingRequestName | Description | Type | Additional information |
---|---|---|---|
LogoImageUrl |
Gets or sets the default logo for the coupons in data url format like 'data:image/png;base64,AAQSkZJRgABAg...'. |
string |
None. |
RedeemButtonText |
Gets or sets the default text to use on the redeem button on coupons. |
string |
Max length: 20 |
RedeemButtonTextColor |
Gets or sets the default text color on the redeem button on coupons. |
string |
Max length: 28 |
RedeemButtonBackgroundColor |
Gets or sets the default background color on the redeem button on coupons. |
string |
Max length: 28 |
RedeemCancelButtonText |
Gets or sets the default text on the Cancel button in the redeem confirmation dialog for coupons. |
string |
Max length: 20 |
RedeemOkButtonText |
Gets or sets the default text on the OK button in the redeem confirmation dialog for coupons. |
string |
Max length: 20 |
RedeemWarningMessage |
Gets or sets the default warning text in the redeem confirmation dialog for coupons. |
string |
Max length: -1 |
ThumbnailButtonText |
Gets or sets the default text on the "View coupon" button for all coupons in a coupon book. |
string |
Max length: 20 |
ThumbnailButtonTextColor |
Gets or sets the default text color on the "View coupon" button for all coupons in a coupon book. |
string |
Max length: 28 |
ThumbnailButtonBackgroundColor |
Gets or sets the background color on the "View coupon" button for all coupons in a coupon book. |
string |
Max length: 28 |
Appearance |
Gets or sets the appearance for all coupons in a coupon book. |
string |
Max length: 28 |
Request Formats
application/json, text/json
{ "logoImageUrl": "sample string 1", "redeemButtonText": "sample string 2", "redeemButtonTextColor": "sample string 3", "redeemButtonBackgroundColor": "sample string 4", "redeemCancelButtonText": "sample string 5", "redeemOkButtonText": "sample string 6", "redeemWarningMessage": "sample string 7", "thumbnailButtonText": "sample string 8", "thumbnailButtonTextColor": "sample string 9", "thumbnailButtonBackgroundColor": "sample string 10", "appearance": "sample string 11" }
application/xml, text/xml
<DefaultCouponSettingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.linkmobility.com/common/coupons"> <Appearance>sample string 11</Appearance> <LogoImageUrl>sample string 1</LogoImageUrl> <RedeemButtonBackgroundColor>sample string 4</RedeemButtonBackgroundColor> <RedeemButtonText>sample string 2</RedeemButtonText> <RedeemButtonTextColor>sample string 3</RedeemButtonTextColor> <RedeemCancelButtonText>sample string 5</RedeemCancelButtonText> <RedeemOkButtonText>sample string 6</RedeemOkButtonText> <RedeemWarningMessage>sample string 7</RedeemWarningMessage> <ThumbnailButtonBackgroundColor>sample string 10</ThumbnailButtonBackgroundColor> <ThumbnailButtonText>sample string 8</ThumbnailButtonText> <ThumbnailButtonTextColor>sample string 9</ThumbnailButtonTextColor> </DefaultCouponSettingRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The response message
None.