POST Tariff/AddProductCost
Creates a reciproque bound between two Products.
Request Information
URI Parameters
None.
Body Parameters
AddProductCostBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| Disabled | date |
None. |
|
| Amount |
the amount of money needed for the business to produce this product |
decimal number |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"Disabled": "2025-12-06T09:15:29.0668678+01:00",
"Amount": 2.0,
"Lang": "sample string 3",
"StoreID": 4
}
application/xml, text/xml
Sample:
<AddProductCostBinding 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 3</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">4</StoreID> <Amount>2</Amount> <Disabled>2025-12-06T09:15:29.0668678+01:00</Disabled> <ProductID>1</ProductID> </AddProductCostBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.