PUT Price/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PriceDto
NameDescriptionTypeAdditional information
ProductId

integer

Required

OfferId

integer

Required

Value

decimal number

Required

Border

integer

Required

CurrencyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "OfferId": 2,
  "Value": 3.0,
  "Border": 4,
  "CurrencyId": 1
}

application/xml, text/xml

Sample:
<PriceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
  <Border>4</Border>
  <CurrencyId>1</CurrencyId>
  <OfferId>2</OfferId>
  <ProductId>1</ProductId>
  <Value>3</Value>
</PriceDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.