POST Tariff/AddComponentPrice
Adds a ComponentPrice.
Request Information
URI Parameters
None.
Body Parameters
AddComponentPriceBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ComponentID | integer |
None. |
|
| TariffID | integer |
None. |
|
| Disabled | date |
None. |
|
| Amount |
Price without tax |
decimal number |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ComponentID": 1,
"TariffID": 2,
"Disabled": "2025-12-06T05:42:38.1905191+01:00",
"Amount": 3.0,
"Lang": "sample string 4",
"StoreID": 5
}
application/xml, text/xml
Sample:
<AddComponentPriceBinding 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 4</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID> <Amount>3</Amount> <ComponentID>1</ComponentID> <Disabled>2025-12-06T05:42:38.1905191+01:00</Disabled> <TariffID>2</TariffID> </AddComponentPriceBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>