DELETE Tariff/RemoveTariff

Removes an existing Tariff.

Request Information

URI Parameters

None.

Body Parameters

TariffBinding
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

Required

String length: inclusive between 0 and 50

ProfitMargin

decimal number

Range: inclusive between 0 and 1

PromotionsOff

boolean

None.

CouponsOff

boolean

None.

PublicTariff

boolean

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "ProfitMargin": 3.0,
  "PromotionsOff": true,
  "CouponsOff": true,
  "PublicTariff": true,
  "Lang": "sample string 7",
  "StoreID": 8
}

application/xml, text/xml

Sample:
<TariffBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Tariff">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 7</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">8</StoreID>
  <CouponsOff>true</CouponsOff>
  <ID>1</ID>
  <Name>sample string 2</Name>
  <ProfitMargin>3</ProfitMargin>
  <PromotionsOff>true</PromotionsOff>
  <PublicTariff>true</PublicTariff>
</TariffBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.