POST Tariff/ProductPrices
Get all the Tariffs of a Product
Request Information
URI Parameters
None.
Body Parameters
GetProductPrices| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ProductID | integer |
None. |
|
| SKU | string |
None. |
|
| IncludeHistoricalRecords | boolean |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ProductID": 1,
"SKU": "sample string 1",
"IncludeHistoricalRecords": true,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetProductPrices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Tariff"> <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> <IncludeHistoricalRecords>true</IncludeHistoricalRecords> <ProductID>1</ProductID> <SKU>sample string 1</SKU> </GetProductPrices>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductPrice| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Created | date |
None. |
|
| Modified | date |
None. |
|
| Disabled | date |
None. |
|
| ProductID | integer |
None. |
|
| ExternalID | string |
None. |
|
| SKU | string |
None. |
|
| TariffID | integer |
None. |
|
| Amount | decimal number |
None. |
|
| ProfitMargin | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Created": "2025-12-06T09:16:22.1289868+01:00",
"Modified": "2025-12-06T09:16:22.1289868+01:00",
"Disabled": "2025-12-06T09:16:22.1289868+01:00",
"ProductID": 4,
"ExternalID": "sample string 5",
"SKU": "sample string 6",
"TariffID": 7,
"Amount": 8.0,
"ProfitMargin": 9.0
},
{
"ID": 1,
"Created": "2025-12-06T09:16:22.1289868+01:00",
"Modified": "2025-12-06T09:16:22.1289868+01:00",
"Disabled": "2025-12-06T09:16:22.1289868+01:00",
"ProductID": 4,
"ExternalID": "sample string 5",
"SKU": "sample string 6",
"TariffID": 7,
"Amount": 8.0,
"ProfitMargin": 9.0
}
]
application/xml, text/xml
Sample:
<ArrayOfProductPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Tariff">
<ProductPrice>
<Amount>8</Amount>
<Created>2025-12-06T09:16:22.1289868+01:00</Created>
<Disabled>2025-12-06T09:16:22.1289868+01:00</Disabled>
<ExternalID>sample string 5</ExternalID>
<ID>1</ID>
<Modified>2025-12-06T09:16:22.1289868+01:00</Modified>
<ProductID>4</ProductID>
<ProfitMargin>9</ProfitMargin>
<SKU>sample string 6</SKU>
<TariffID>7</TariffID>
</ProductPrice>
<ProductPrice>
<Amount>8</Amount>
<Created>2025-12-06T09:16:22.1289868+01:00</Created>
<Disabled>2025-12-06T09:16:22.1289868+01:00</Disabled>
<ExternalID>sample string 5</ExternalID>
<ID>1</ID>
<Modified>2025-12-06T09:16:22.1289868+01:00</Modified>
<ProductID>4</ProductID>
<ProfitMargin>9</ProfitMargin>
<SKU>sample string 6</SKU>
<TariffID>7</TariffID>
</ProductPrice>
</ArrayOfProductPrice>