DELETE Tariff/RemoveProductPrice

Removes an existing ProductPrice.

Request Information

URI Parameters

None.

Body Parameters

ProductPriceBinding
NameDescriptionTypeAdditional information
ID

integer

None.

ProductID

integer

None.

ExternalID

if a ProductID is not provided (null), this ExternalID will be used to search for the Product

string

None.

SKU

if a ProductID is not provided (null), this SKU will be used to search for the Product

string

None.

TariffID

integer

None.

ProfitMargin

decimal number

Range: inclusive between 0 and 1

Amount

decimal number

None.

Disabled

date

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ProductID": 1,
  "ExternalID": "sample string 2",
  "SKU": "sample string 3",
  "TariffID": 4,
  "ProfitMargin": 1.0,
  "Amount": 1.0,
  "Disabled": "2025-12-06T09:18:51.196113+01:00",
  "Lang": "sample string 5",
  "StoreID": 6
}

application/xml, text/xml

Sample:
<ProductPriceBinding 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 5</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">6</StoreID>
  <Amount>1</Amount>
  <Disabled>2025-12-06T09:18:51.196113+01:00</Disabled>
  <ExternalID>sample string 2</ExternalID>
  <ID>1</ID>
  <ProductID>1</ProductID>
  <ProfitMargin>1</ProfitMargin>
  <SKU>sample string 3</SKU>
  <TariffID>4</TariffID>
</ProductPriceBinding>

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.