POST Marketing/RewardExchangeRate

GetRewardExchangeRates with same parentID

Request Information

URI Parameters

None.

Body Parameters

GetRewardExchangeRateRequest
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:
<GetRewardExchangeRateRequest 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>
</GetRewardExchangeRateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RewardExchangeRate
NameDescriptionTypeAdditional information
ID

integer

None.

RewardID

integer

None.

Points

integer

None.

Amount

decimal number

None.

Disabled

date

None.

CustomerTypes

Types of customer that have this RewardExchangeRate

Collection of CustomerType

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "RewardID": 2,
  "Points": 3,
  "Amount": 4.0,
  "Disabled": "2025-12-06T05:41:57.57987+01:00",
  "CustomerTypes": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "TaxDisplay": true,
      "TariffID": 4,
      "InvoiceRequired": true
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "TaxDisplay": true,
      "TariffID": 4,
      "InvoiceRequired": true
    }
  ]
}

application/xml, text/xml

Sample:
<RewardExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing">
  <Amount>4</Amount>
  <CustomerTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Customer">
    <d2p1:CustomerType>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InvoiceRequired>true</d2p1:InvoiceRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:TariffID>4</d2p1:TariffID>
      <d2p1:TaxDisplay>true</d2p1:TaxDisplay>
    </d2p1:CustomerType>
    <d2p1:CustomerType>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InvoiceRequired>true</d2p1:InvoiceRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:TariffID>4</d2p1:TariffID>
      <d2p1:TaxDisplay>true</d2p1:TaxDisplay>
    </d2p1:CustomerType>
  </CustomerTypes>
  <Disabled>2025-12-06T05:41:57.57987+01:00</Disabled>
  <ID>1</ID>
  <Points>3</Points>
  <RewardID>2</RewardID>
</RewardExchangeRate>