POST Marketing/Reward

GetRewards with same parentID

Request Information

URI Parameters

None.

Body Parameters

GetRewardRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Lang": "sample string 2",
  "StoreID": 3
}

application/xml, text/xml

Sample:
<GetRewardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID>
  <ID>1</ID>
</GetRewardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reward
NameDescriptionTypeAdditional information
ID

integer

None.

Created

date

None.

Modified

date

None.

Disabled

date

None.

StoreID

integer

None.

TypeID

Type of reward

integer

None.

Name

Name for the Reward

string

Required

Description

string

None.

ValidFrom

date

None.

Expiration

When this reward does not apply anymore

date

None.

MaximumEarnAmount

Maximum order amount or number of actions that can be used to earn points. 0 -> disabled

decimal number

None.

ExpirationDays

Days for the rewarded points to expire. If 0, never.

integer

None.

Images

Collection of ItemImage

None.

ExchangeRates

Collection of RewardExchangeRate

None.

Slug

string

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.