POST Tariff/VariationCosts

VariationCosts where a Variation is bound as a principal or child

Request Information

URI Parameters

None.

Body Parameters

GetVariationRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Lang": "sample string 2",
  "StoreID": 3
}

application/xml, text/xml

Sample:
<GetVariationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Catalog">
  <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>
</GetVariationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Cost
NameDescriptionTypeAdditional information
ID

integer

None.

Created

date

None.

Modified

date

None.

Disabled

date

None.

Amount

the amount of money needed for the business to produce this product

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Created": "2025-12-06T09:18:01.4443362+01:00",
    "Modified": "2025-12-06T09:18:01.4443362+01:00",
    "Disabled": "2025-12-06T09:18:01.4443362+01:00",
    "Amount": 4.0
  },
  {
    "ID": 1,
    "Created": "2025-12-06T09:18:01.4443362+01:00",
    "Modified": "2025-12-06T09:18:01.4443362+01:00",
    "Disabled": "2025-12-06T09:18:01.4443362+01:00",
    "Amount": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Tariff">
  <Cost>
    <Amount>4</Amount>
    <Created>2025-12-06T09:18:01.4443362+01:00</Created>
    <Disabled>2025-12-06T09:18:01.4443362+01:00</Disabled>
    <ID>1</ID>
    <Modified>2025-12-06T09:18:01.4443362+01:00</Modified>
  </Cost>
  <Cost>
    <Amount>4</Amount>
    <Created>2025-12-06T09:18:01.4443362+01:00</Created>
    <Disabled>2025-12-06T09:18:01.4443362+01:00</Disabled>
    <ID>1</ID>
    <Modified>2025-12-06T09:18:01.4443362+01:00</Modified>
  </Cost>
</ArrayOfCost>