POST Marketing/Rewards
Request Information
URI Parameters
None.
Body Parameters
BaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Lang": "sample string 1",
"StoreID": 2
}
application/xml, text/xml
Sample:
<BaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base"> <Lang>sample string 1</Lang> <StoreID>2</StoreID> </BaseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Reward| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Type |
Type of reward |
string |
None. |
| Name | string |
None. |
|
| Description | string |
None. |
|
| Slug | string |
None. |
|
| MaximumEarnAmount |
Maximum order amount or number of actions that can be used to earn points. 0 -> disabled |
decimal number |
None. |
| Images | Collection of ItemImage |
None. |
|
| ExchangeRates |
Order amount/number of actions to points conversion rule |
Collection of ExchangeRate |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.